Knopflerfish OSGi 5.2.0

org.osgi.service.upnp
Interface UPnPLocalStateVariable

All Superinterfaces:
UPnPStateVariable

public interface UPnPLocalStateVariable
extends UPnPStateVariable

A local UPnP state variable which allows the value of the state variable to be queried.

Since:
1.1
Author:
$Id: 351a0315baedfbfacb2f6ba18676df8fcb7ea9c2 $

Field Summary
 
Fields inherited from interface org.osgi.service.upnp.UPnPStateVariable
TYPE_BIN_BASE64, TYPE_BIN_HEX, TYPE_BOOLEAN, TYPE_CHAR, TYPE_DATE, TYPE_DATETIME, TYPE_DATETIME_TZ, TYPE_FIXED_14_4, TYPE_FLOAT, TYPE_I1, TYPE_I2, TYPE_I4, TYPE_INT, TYPE_NUMBER, TYPE_R4, TYPE_R8, TYPE_STRING, TYPE_TIME, TYPE_TIME_TZ, TYPE_UI1, TYPE_UI2, TYPE_UI4, TYPE_URI, TYPE_UUID
 
Method Summary
 java.lang.Object getCurrentValue()
          This method will keep the current values of UPnPStateVariables of a UPnPDevice whenever UPnPStateVariable's value is changed , this method must be called.
 
Methods inherited from interface org.osgi.service.upnp.UPnPStateVariable
getAllowedValues, getDefaultValue, getJavaDataType, getMaximum, getMinimum, getName, getStep, getUPnPDataType, sendsEvents
 

Method Detail

getCurrentValue

java.lang.Object getCurrentValue()
This method will keep the current values of UPnPStateVariables of a UPnPDevice whenever UPnPStateVariable's value is changed , this method must be called.

Returns:
Object current value of UPnPStateVariable. if the current value is initialized with the default value defined UPnP service description.
Throws:
java.lang.IllegalStateException - if the UPnP state variable has been removed.

Knopflerfish OSGi 5.2.0