Package org.jupnp.protocol.sync
Klasse SendingRenewal
java.lang.Object
org.jupnp.protocol.SendingAsync
org.jupnp.protocol.SendingSync<OutgoingRenewalRequestMessage,IncomingSubscribeResponseMessage>
org.jupnp.protocol.sync.SendingRenewal
- Alle implementierten Schnittstellen:
Runnable
public class SendingRenewal
extends SendingSync<OutgoingRenewalRequestMessage,IncomingSubscribeResponseMessage>
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(org.jupnp.model.gena.CancelReason, org.jupnp.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.
- Autor:
- Christian Bauer
-
Feldübersicht
FelderVon Klasse geerbte Felder org.jupnp.protocol.SendingSync
outputMessage -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungSendingRenewal(UpnpService upnpService, RemoteGENASubscription subscription) -
Methodenübersicht
Von Klasse geerbte Methoden org.jupnp.protocol.SendingSync
execute, getInputMessage, getOutputMessage, toStringVon Klasse geerbte Methoden org.jupnp.protocol.SendingAsync
getUpnpService, run
-
Felddetails
-
subscription
-
-
Konstruktordetails
-
SendingRenewal
-
-
Methodendetails
-
executeSync
- Angegeben von:
executeSyncin KlasseSendingSync<OutgoingRenewalRequestMessage,IncomingSubscribeResponseMessage> - Löst aus:
RouterException
-
onRenewalFailure
protected void onRenewalFailure()
-