YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
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< IN extends StreamRequestMessage, OUT extends StreamResponseMessage >
IN getInputMessage ()
 
OUT getOutputMessage ()
 
String toString ()
 
- Public Member Functions inherited from de.yaacc.upnp.protocol.SendingAsync
void run ()
 

Protected Member Functions

StreamResponseMessage executeSync () throws IOException
 
void onUnsubscribe (final StreamResponseMessage response)
 
- Protected Member Functions inherited from de.yaacc.upnp.protocol.SendingSync< IN extends StreamRequestMessage, OUT extends StreamResponseMessage >
 SendingSync (IN inputMessage)
 
final void execute () throws IOException
 
- Protected Member Functions inherited from de.yaacc.upnp.protocol.SendingAsync

Protected Attributes

final RemoteGENASubscription subscription
 
- Protected Attributes inherited from de.yaacc.upnp.protocol.SendingSync< IN extends StreamRequestMessage, OUT extends 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

Member Function Documentation

◆ executeSync()

StreamResponseMessage de.yaacc.upnp.protocol.sync.SendingUnsubscribe.executeSync ( ) throws IOException
protected

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