Package net.sbbi.upnp.messages
Class StateVariableMessage
- java.lang.Object
-
- net.sbbi.upnp.messages.StateVariableMessage
-
public class StateVariableMessage extends java.lang.Object
This class is used to create state variable messages to communicate with the device
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StateVariableResponse
service()
Executes the state variable query and returns the UPNP device response, according to the UPNP specs, this method could take up to 30 secs to process ( time allowed for a device to respond to a request )
-
-
-
Method Detail
-
service
public StateVariableResponse service() throws java.io.IOException, UPNPResponseException
Executes the state variable query and returns the UPNP device response, according to the UPNP specs, this method could take up to 30 secs to process ( time allowed for a device to respond to a request )- Returns:
- a state variable response object containing the variable value
- Throws:
java.io.IOException
- if some IOException occurs during message send and reception processUPNPResponseException
- if an UPNP error message is returned from the server or if some parsing exception occurs ( detailErrorCode = 899, detailErrorDescription = SAXException message )
-
-