public class ActionResponseextends ControlResponse
Represents a UPnP action control response. Extends ControlResponse to provide action-specific functionality.
  • Constructor Details

    • ActionResponse

      public ActionResponse()
      /////////////////////////////////////////////
    • ActionResponse

      public ActionResponse(SOAPResponse soapRes)
      Constructs an ActionResponse from a SOAP response.
      Parameters:
      soapRes - the SOAP response to wrap
  • Method Details

    • setResponse

      public void setResponse(Action action)
      Sets the response for the specified action.
      Parameters:
      action - the action to set response for
    • createResponseNode

      private Node createResponseNode(Action action)
      Creates the response node for one action.
      Parameters:
      action - the action to create response node for
      Returns:
      the created response node
    • getActionResponseNode

      private Node getActionResponseNode()
      Gets the completed action response node.
      Returns:
      the action response node
    • getResponse

      public ArgumentList getResponse()
      Gets the argument list from the response.
      Returns:
      the argument list from the response