Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.teleal.cling.model.gena
Class GENASubscription<S extends Service>

    java.lang.Object
      org.teleal.cling.model.gena.GENASubscription<S>

Direct Known Subclasses:
  LocalGENASubscription, RemoteGENASubscription

    public abstract class GENASubscription<S extends Service>

extends Object

Field Summary
`protected int` | `actualDurationSeconds`
`protected UnsignedIntegerFourBytes` | `currentSequence`
`protected Map<String,StateVariableValue<S>>` | `currentValues`
`protected DeviceService` | `deviceService`
`protected int` | `requestedDurationSeconds`
`protected String` | `subscriptionId`

Constructor Summary
`protected` | `GENASubscription(DeviceService<S> deviceService)`
`` | `GENASubscription(DeviceService<S> deviceService, int requestedDurationSeconds)`

Method Summary
`abstract void` | `established()`
`abstract void` | `eventReceived()`
`int` | `getActualDurationSeconds()`
`UnsignedIntegerFourBytes` | `getCurrentSequence()`
`Map<String,StateVariableValue<S>>` | `getCurrentValues()`
`DeviceService<S>` | `getDeviceService()`
`int` | `getRequestedDurationSeconds()`
`String` | `getSubscriptionId()`
`void` | `setActualSubscriptionDurationSeconds(int seconds)`
`void` | `setSubscriptionId(String subscriptionId)`
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### deviceService

    protected DeviceService deviceService

### subscriptionId

    protected String subscriptionId

### requestedDurationSeconds

    protected int requestedDurationSeconds

### actualDurationSeconds

    protected int actualDurationSeconds

### currentSequence

    protected UnsignedIntegerFourBytes currentSequence

### currentValues

    protected Map<String,StateVariableValue<S extends Service>> currentValues

Constructor Detail

### GENASubscription

    protected GENASubscription(DeviceService<S> deviceService)

### GENASubscription

    public GENASubscription(DeviceService<S> deviceService,
                            int requestedDurationSeconds)

Method Detail

### getDeviceService

    public DeviceService<S> getDeviceService()

### getSubscriptionId

    public String getSubscriptionId()

### setSubscriptionId

    public void setSubscriptionId(String subscriptionId)

### getRequestedDurationSeconds

    public int getRequestedDurationSeconds()

### getActualDurationSeconds

    public int getActualDurationSeconds()

### setActualSubscriptionDurationSeconds

    public void setActualSubscriptionDurationSeconds(int seconds)

### getCurrentSequence

    public UnsignedIntegerFourBytes getCurrentSequence()

### getCurrentValues

    public Map<String,StateVariableValue<S>> getCurrentValues()

### established

    public abstract void established()

### eventReceived

    public abstract void eventReceived()

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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