YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.upnp.protocol.sync.SendingRenewal Class Reference

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

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

Public Member Functions

 SendingRenewal (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

IncomingSubscribeResponseMessage executeSync () throws IOException
 
void onRenewalFailure ()
 
- 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

Renewing a GENA event subscription with a remote host.

This protocol is executed periodically by the local registry, for any established GENA subscription to a remote service. If renewal failed, the subscription will be removed from the registry and the RemoteGENASubscription#end(CancelReason, org.fourthline.cling.model.message.UpnpResponse) method will be called. The RENEWAL_FAILED reason will be used, however, the response might be null if no response was received from the remote host.

Author
Christian Bauer

Member Function Documentation

◆ executeSync()

IncomingSubscribeResponseMessage de.yaacc.upnp.protocol.sync.SendingRenewal.executeSync ( ) throws IOException
protected

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