Package org.jupnp.protocol.sync
Klasse SendingSubscribe
java.lang.Object
org.jupnp.protocol.SendingAsync
org.jupnp.protocol.SendingSync<OutgoingSubscribeRequestMessage,IncomingSubscribeResponseMessage>
org.jupnp.protocol.sync.SendingSubscribe
- Alle implementierten Schnittstellen:
Runnable
public class SendingSubscribe
extends SendingSync<OutgoingSubscribeRequestMessage,IncomingSubscribeResponseMessage>
Establishing a GENA event subscription with a remote host.
Calls the RemoteGENASubscription.establish() method
if the subscription request was responded to correctly.
The RemoteGENASubscription.fail(org.jupnp.model.message.UpnpResponse)
method will be called if the request failed. No response from the remote host is indicated with
a null argument value. Note that this is also the response if the subscription has
to be aborted early, when no local stream server for callback URL creation is available. This is
the case when the local network transport layer is switched off, subscriptions will fail
immediately with no response.
- Autor:
- Christian Bauer
-
Feldübersicht
FelderVon Klasse geerbte Felder org.jupnp.protocol.SendingSync
outputMessage -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungSendingSubscribe(UpnpService upnpService, RemoteGENASubscription subscription, List<NetworkAddress> activeStreamServers) -
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
-
SendingSubscribe
public SendingSubscribe(UpnpService upnpService, RemoteGENASubscription subscription, List<NetworkAddress> activeStreamServers)
-
-
Methodendetails
-
executeSync
- Angegeben von:
executeSyncin KlasseSendingSync<OutgoingSubscribeRequestMessage,IncomingSubscribeResponseMessage> - Löst aus:
RouterException
-
onSubscriptionFailure
protected void onSubscriptionFailure()
-