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.SendingUnsubscribe Class Reference

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

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

Public Member Functions

 SendingUnsubscribe (Registry registry, HttpRequestSender httpRequestSender, RemoteGENASubscription subscription)
 
- Public Member Functions inherited from de.yaacc.upnp.protocol.SendingSync< OutgoingUnsubscribeRequestMessage, StreamResponseMessage >
IN getInputMessage ()
 
OUT getOutputMessage ()
 
String toString ()
 

Protected Member Functions

StreamResponseMessage executeSync () throws IOException
 
void onUnsubscribe (final StreamResponseMessage response)
 
- Protected Member Functions inherited from de.yaacc.upnp.protocol.SendingSync< OutgoingUnsubscribeRequestMessage, StreamResponseMessage >
 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< OutgoingUnsubscribeRequestMessage, StreamResponseMessage >
OUT outputMessage
 

Detailed Description

Disconnecting a GENA event subscription with a remote host.

Calls the RemoteGENASubscription#end(CancelReason, org.fourthline.cling.model.message.UpnpResponse) method if the subscription request was responded to correctly. No CancelReason will be provided if the unsubscribe procedure completed as expected, otherwise UNSUBSCRIBE_FAILED is used. The response might be null if no response was received from the remote host.

Author
Christian Bauer

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