Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.teleal.cling.protocol.sync
Class ReceivingSubscribe

    java.lang.Object
      org.teleal.cling.protocol.ReceivingAsync<IN>
          org.teleal.cling.protocol.ReceivingSync<StreamRequestMessage,OutgoingSubscribeResponseMessage>
              org.teleal.cling.protocol.sync.ReceivingSubscribe

All Implemented Interfaces:
  Runnable

    public class ReceivingSubscribe

extends ReceivingSync<StreamRequestMessage,OutgoingSubscribeResponseMessage>

Field Summary
`protected LocalGENASubscription` | `subscription`

Fields inherited from class org.teleal.cling.protocol.ReceivingSync
`outputMessage`

Constructor Summary
`ReceivingSubscribe(UpnpService upnpService, StreamRequestMessage inputMessage)`

Method Summary
`protected OutgoingSubscribeResponseMessage` | `executeSync()`
`protected OutgoingSubscribeResponseMessage` | `processNewSubscription(DeviceService deviceService, IncomingSubscribeRequestMessage requestMessage)`
`protected OutgoingSubscribeResponseMessage` | `processRenewal(DeviceService deviceService, IncomingSubscribeRequestMessage requestMessage)`
`void` | `responseException(Throwable t)`
`void` | `responseSent(StreamResponseMessage responseMessage)`

Methods inherited from class org.teleal.cling.protocol.ReceivingSync
`execute, getOutputMessage, toString`

Methods inherited from class org.teleal.cling.protocol.ReceivingAsync
`getFirstHeader, getInputMessage, getUpnpService, run, waitBeforeExecution`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### subscription

    protected LocalGENASubscription subscription

Constructor Detail

### ReceivingSubscribe

    public ReceivingSubscribe(UpnpService upnpService,
                              StreamRequestMessage inputMessage)

Method Detail

### executeSync

    protected OutgoingSubscribeResponseMessage executeSync()

  Specified by:
    `executeSync` in class `ReceivingSync<StreamRequestMessage,OutgoingSubscribeResponseMessage>`

### processRenewal

    protected OutgoingSubscribeResponseMessage processRenewal(DeviceService deviceService,
                                                              IncomingSubscribeRequestMessage requestMessage)

### processNewSubscription

    protected OutgoingSubscribeResponseMessage processNewSubscription(DeviceService deviceService,
                                                                      IncomingSubscribeRequestMessage requestMessage)

### responseSent

    public void responseSent(StreamResponseMessage responseMessage)

  Overrides:
    `responseSent` in class `ReceivingSync<StreamRequestMessage,OutgoingSubscribeResponseMessage>`

### responseException

    public void responseException(Throwable t)

  Overrides:
    `responseException` in class `ReceivingSync<StreamRequestMessage,OutgoingSubscribeResponseMessage>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.