net.sbbi.upnp.messages
Class StateVariableMessage

java.lang.Object
  extended by net.sbbi.upnp.messages.StateVariableMessage

public class StateVariableMessage
extends Object

This class is used to create state variable messages to comminicate with the device

Version:
1.0
Author:
SuperBonBon

Constructor Summary
protected StateVariableMessage(UPNPService service, ServiceStateVariable serviceStateVar)
           
 
Method Summary
 StateVariableResponse service()
          Executes the state variable query and retuns 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
 

Constructor Detail

StateVariableMessage

protected StateVariableMessage(UPNPService service,
                               ServiceStateVariable serviceStateVar)
Method Detail

service

public StateVariableResponse service()
                              throws IOException,
                                     UPNPResponseException
Executes the state variable query and retuns 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 © 2010. All Rights Reserved.