org.teleal.cling.model.gena
Class RemoteGENASubscription

java.lang.Object
  extended by org.teleal.cling.model.gena.GENASubscription<RemoteService>
      extended by org.teleal.cling.model.gena.RemoteGENASubscription

public abstract class RemoteGENASubscription
extends GENASubscription<RemoteService>

Author:
Christian Bauer

Field Summary
static java.lang.String ALL_STATE_VARIABLE_VALUES
           
protected  java.beans.PropertyChangeSupport propertyChangeSupport
           
 
Fields inherited from class org.teleal.cling.model.gena.GENASubscription
actualDurationSeconds, currentSequence, currentValues, deviceService, requestedDurationSeconds, subscriptionId
 
Constructor Summary
protected RemoteGENASubscription(DeviceService deviceService)
           
protected RemoteGENASubscription(DeviceService deviceService, 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)
           
 java.net.URL getEventSubscriptionURL()
           
 java.net.URL getLocalEventCallbackURL(int streamListenPort)
           
 java.beans.PropertyChangeSupport getPropertyChangeSupport()
           
 java.net.InetAddress getReachableLocalAddress()
           
 void receive(UnsignedIntegerFourBytes sequence, java.util.Collection<StateVariableValue> newValues)
           
 java.lang.String toString()
           
 
Methods inherited from class org.teleal.cling.model.gena.GENASubscription
established, eventReceived, getActualDurationSeconds, getCurrentSequence, getCurrentValues, getDeviceService, getRequestedDurationSeconds, getSubscriptionId, setActualSubscriptionDurationSeconds, setSubscriptionId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ALL_STATE_VARIABLE_VALUES

public static final java.lang.String ALL_STATE_VARIABLE_VALUES
See Also:
Constant Field Values

propertyChangeSupport

protected java.beans.PropertyChangeSupport propertyChangeSupport
Constructor Detail

RemoteGENASubscription

protected RemoteGENASubscription(DeviceService deviceService)

RemoteGENASubscription

protected RemoteGENASubscription(DeviceService deviceService,
                                 int requestedDurationSeconds)
Method Detail

getEventSubscriptionURL

public java.net.URL getEventSubscriptionURL()

getReachableLocalAddress

public java.net.InetAddress getReachableLocalAddress()

getLocalEventCallbackURL

public java.net.URL getLocalEventCallbackURL(int streamListenPort)

getPropertyChangeSupport

public java.beans.PropertyChangeSupport getPropertyChangeSupport()

establish

public void establish()

fail

public void fail(UpnpResponse responseStatus)

end

public void end(CancelReason reason,
                UpnpResponse response)

receive

public void receive(UnsignedIntegerFourBytes sequence,
                    java.util.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 java.lang.String toString()
Overrides:
toString in class GENASubscription<RemoteService>


Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.