org.ocap.hn.upnp.client
Interface UPnPClientStateVariable

All Superinterfaces:
UPnPAdvertisedStateVariable, UPnPStateVariable

public interface UPnPClientStateVariable
extends UPnPAdvertisedStateVariable

This interface is the client representation of a UPnP state variable.


Method Summary
 String getEventedValue()
          Gets the value of the UPnP state variable corresponding to this UPnPClientStateVariable object.
 UPnPClientService getService()
          Gets the UPnP service that this state variable is a member of.
 
Methods inherited from interface org.ocap.hn.upnp.common.UPnPStateVariable
getAllowedValues, getDataType, getDefaultValue, getMaximumValue, getMinimumValue, getName, getStepValue, isEvented
 

Method Detail

getEventedValue

String getEventedValue()
Gets the value of the UPnP state variable corresponding to this UPnPClientStateVariable object.

Returns:
The most recently received evented value of the state variable.
Throws:
UnsupportedOperationException - if the UPnP state variable corresponding to this UPnPStateVariable object is not evented as can be determined by calling the isEvented() method.

getService

UPnPClientService getService()
Gets the UPnP service that this state variable is a member of.

Returns:
The service that this state variable is part of.


Copyright © 2011. All Rights Reserved.