Class 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 )
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 process
        UPNPResponseException - if an UPNP error message is returned from the server or if some parsing exception occurs ( detailErrorCode = 899, detailErrorDescription = SAXException message )