YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
de.yaacc.upnp.protocol.sync.SendingSubscribe Class Reference

Establishing a GENA event subscription with a remote host. More...

Inheritance diagram for de.yaacc.upnp.protocol.sync.SendingSubscribe:
Inheritance graph
Collaboration diagram for de.yaacc.upnp.protocol.sync.SendingSubscribe:
Collaboration graph

Public Member Functions

 SendingSubscribe (Registry registry, HttpRequestSender httpRequestSender, RemoteGENASubscription subscription, NetworkAddress activeStreamServers)
 
- Public Member Functions inherited from de.yaacc.upnp.protocol.SendingSync< OutgoingSubscribeRequestMessage, IncomingSubscribeResponseMessage >
IN getInputMessage ()
 
OUT getOutputMessage ()
 
String toString ()
 

Protected Member Functions

IncomingSubscribeResponseMessage executeSync () throws IOException
 
void onSubscriptionFailure ()
 
- Protected Member Functions inherited from de.yaacc.upnp.protocol.SendingSync< OutgoingSubscribeRequestMessage, IncomingSubscribeResponseMessage >
 SendingSync (IN inputMessage)
 
final void execute () throws IOException
 
abstract OUT executeSync () throws IOException
 

Protected Attributes

final RemoteGENASubscription subscription
 
- Protected Attributes inherited from de.yaacc.upnp.protocol.SendingSync< OutgoingSubscribeRequestMessage, IncomingSubscribeResponseMessage >
OUT outputMessage
 

Detailed Description

Establishing a GENA event subscription with a remote host.

Calls the RemoteGENASubscription#establish() method if the subscription request was responded to correctly.

The RemoteGENASubscription#fail(org.fourthline.cling.model.message.UpnpResponse) method will be called if the request failed. No response from the remote host is indicated with a null argument value. Note that this is also the response if the subscription has to be aborted early, when no local stream server for callback URL creation is available. This is the case when the local network transport layer is switched off, subscriptions will fail immediately with no response.

Author
Christian Bauer

The documentation for this class was generated from the following file: