net.tomp2p.upnp
Class StateVariableMessage
java.lang.Object
net.tomp2p.upnp.StateVariableMessage
public class StateVariableMessage
- extends Object
This class is used to create state variable messages to communicate with the device
- Version:
- 1.0
- Author:
- SuperBonBon
Method Summary |
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 ) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
service
public StateVariableResponse service()
throws 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:
IOException
- if some IOException occurs during message send and reception process
UPNPResponseException
- if an UPNP error message is returned from the server or if some parsing exception
occurs ( detailErrorCode = 899, detailErrorDescription = SAXException message )
Copyright © 2013. All Rights Reserved.