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.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< OutgoingRenewalRequestMessage, IncomingSubscribeResponseMessage >
IN getInputMessage ()
 
OUT getOutputMessage ()
 
String toString ()
 

Protected Member Functions

IncomingSubscribeResponseMessage executeSync () throws IOException
 
void onRenewalFailure ()
 
- Protected Member Functions inherited from de.yaacc.upnp.protocol.SendingSync< OutgoingRenewalRequestMessage, 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< OutgoingRenewalRequestMessage, IncomingSubscribeResponseMessage >
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

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