|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fourthline.cling.model.gena.GENASubscription<RemoteService>
org.fourthline.cling.model.gena.RemoteGENASubscription
public abstract class RemoteGENASubscription
An outgoing subscription to a remote service.
Once established, calls its GENASubscription.eventReceived() method whenever an event has
been received from the remote service.
| Field Summary | |
|---|---|
protected PropertyChangeSupport |
propertyChangeSupport
|
| Fields inherited from class org.fourthline.cling.model.gena.GENASubscription |
|---|
actualDurationSeconds, currentSequence, currentValues, requestedDurationSeconds, service, subscriptionId |
| Constructor Summary | |
|---|---|
protected |
RemoteGENASubscription(RemoteService service,
int requestedDurationSeconds)
|
| Method Summary | |
|---|---|
void |
end(CancelReason reason,
UpnpResponse response)
|
abstract void |
ended(CancelReason reason,
UpnpResponse responseStatus)
|
void |
establish()
|
abstract void |
eventsMissed(int numberOfMissedEvents)
|
void |
fail(UpnpResponse responseStatus)
|
abstract void |
failed(UpnpResponse responseStatus)
|
List<URL> |
getEventCallbackURLs(List<NetworkAddress> activeStreamServers,
Namespace namespace)
|
URL |
getEventSubscriptionURL()
|
abstract void |
invalidMessage(UnsupportedDataException ex)
|
void |
receive(UnsignedIntegerFourBytes sequence,
Collection<StateVariableValue> newValues)
|
String |
toString()
|
| Methods inherited from class org.fourthline.cling.model.gena.GENASubscription |
|---|
established, eventReceived, getActualDurationSeconds, getCurrentSequence, getCurrentValues, getRequestedDurationSeconds, getService, getSubscriptionId, setActualSubscriptionDurationSeconds, setSubscriptionId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected PropertyChangeSupport propertyChangeSupport
| Constructor Detail |
|---|
protected RemoteGENASubscription(RemoteService service,
int requestedDurationSeconds)
| Method Detail |
|---|
public URL getEventSubscriptionURL()
public List<URL> getEventCallbackURLs(List<NetworkAddress> activeStreamServers,
Namespace namespace)
public void establish()
public void fail(UpnpResponse responseStatus)
public void end(CancelReason reason,
UpnpResponse response)
public void receive(UnsignedIntegerFourBytes sequence,
Collection<StateVariableValue> newValues)
public abstract void invalidMessage(UnsupportedDataException ex)
public abstract void failed(UpnpResponse responseStatus)
public abstract void ended(CancelReason reason,
UpnpResponse responseStatus)
public abstract void eventsMissed(int numberOfMissedEvents)
public String toString()
toString in class GENASubscription<RemoteService>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||