org.teleal.cling.model.gena
Class LocalGENASubscription
java.lang.Object
org.teleal.cling.model.gena.GENASubscription<LocalService>
org.teleal.cling.model.gena.LocalGENASubscription
- All Implemented Interfaces:
- java.beans.PropertyChangeListener, java.util.EventListener
public abstract class LocalGENASubscription
- extends GENASubscription<LocalService>
- implements java.beans.PropertyChangeListener
Methods inherited from class org.teleal.cling.model.gena.GENASubscription |
established, eventReceived, getActualDurationSeconds, getCurrentSequence, getCurrentValues, getDeviceService, getRequestedDurationSeconds, getSubscriptionId, setActualSubscriptionDurationSeconds, setSubscriptionId, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LocalGENASubscription
public LocalGENASubscription(DeviceService<LocalService> deviceService,
java.util.List<java.net.URL> callbackURLs)
LocalGENASubscription
public LocalGENASubscription(DeviceService<LocalService> deviceService,
java.lang.Integer requestedDurationSeconds,
java.util.List<java.net.URL> callbackURLs)
getCallbackURLs
public java.util.List<java.net.URL> getCallbackURLs()
registerOnService
public void registerOnService()
establish
public void establish()
end
public void end(CancelReason reason)
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent e)
- Specified by:
propertyChange
in interface java.beans.PropertyChangeListener
moderateStateVariables
protected java.util.Set<java.lang.String> moderateStateVariables(long currentTime,
java.util.Collection<StateVariableValue> values)
incrementSequence
public void incrementSequence()
setSubscriptionDuration
public void setSubscriptionDuration(java.lang.Integer requestedDurationSeconds)
failed
public abstract void failed(java.lang.Exception ex)
ended
public abstract void ended(CancelReason reason)
Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.