Package org.jupnp.protocol.sync
Klasse SendingUnsubscribe
java.lang.Object
org.jupnp.protocol.SendingAsync
org.jupnp.protocol.SendingSync<OutgoingUnsubscribeRequestMessage,StreamResponseMessage>
org.jupnp.protocol.sync.SendingUnsubscribe
- Alle implementierten Schnittstellen:
Runnable
public class SendingUnsubscribe
extends SendingSync<OutgoingUnsubscribeRequestMessage,StreamResponseMessage>
Disconnecting a GENA event subscription with a remote host.
Calls the
RemoteGENASubscription.end(org.jupnp.model.gena.CancelReason, org.jupnp.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.
- Autor:
- Christian Bauer
-
Feldübersicht
FelderVon Klasse geerbte Felder org.jupnp.protocol.SendingSync
outputMessage -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungSendingUnsubscribe(UpnpService upnpService, RemoteGENASubscription subscription) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected StreamResponseMessageprotected voidonUnsubscribe(StreamResponseMessage response) Von Klasse geerbte Methoden org.jupnp.protocol.SendingSync
execute, getInputMessage, getOutputMessage, toStringVon Klasse geerbte Methoden org.jupnp.protocol.SendingAsync
getUpnpService, run
-
Felddetails
-
subscription
-
-
Konstruktordetails
-
SendingUnsubscribe
-
-
Methodendetails
-
executeSync
- Angegeben von:
executeSyncin KlasseSendingSync<OutgoingUnsubscribeRequestMessage,StreamResponseMessage> - Löst aus:
RouterException
-
onUnsubscribe
-