org.teleal.cling.model.gena
Class RemoteGENASubscription
java.lang.Object
org.teleal.cling.model.gena.GENASubscription<RemoteService>
org.teleal.cling.model.gena.RemoteGENASubscription
public abstract class RemoteGENASubscription
- extends GENASubscription<RemoteService>
An outgoing subscription to a remote service.
Once established, calls its GENASubscription.eventReceived()
method whenever an event has
been received from the remote service.
- Author:
- Christian Bauer
propertyChangeSupport
protected PropertyChangeSupport propertyChangeSupport
RemoteGENASubscription
protected RemoteGENASubscription(RemoteService service)
RemoteGENASubscription
protected RemoteGENASubscription(RemoteService service,
int requestedDurationSeconds)
getEventSubscriptionURL
public URL getEventSubscriptionURL()
getEventCallbackURL
public URL getEventCallbackURL(Namespace namespace)
establish
public void establish()
fail
public void fail(UpnpResponse responseStatus)
end
public void end(CancelReason reason,
UpnpResponse response)
receive
public void receive(UnsignedIntegerFourBytes sequence,
Collection<StateVariableValue> newValues)
failed
public abstract void failed(UpnpResponse responseStatus)
ended
public abstract void ended(CancelReason reason,
UpnpResponse responseStatus)
eventsMissed
public abstract void eventsMissed(int numberOfMissedEvents)
toString
public String toString()
- Overrides:
toString
in class GENASubscription<RemoteService>
Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.