cybergarage-upnp
org.cybergarage.upnp.xml.ActionData Class Reference
Inheritance diagram for org.cybergarage.upnp.xml.ActionData:
org.cybergarage.upnp.xml.NodeData

Public Member Functions

 ActionData ()
 
ActionListener getActionListener ()
 
void setActionListener (ActionListener actionListener)
 
ControlResponse getControlResponse ()
 
void setControlResponse (ControlResponse res)
 
- Public Member Functions inherited from org.cybergarage.upnp.xml.NodeData
 NodeData ()
 
void setNode (Node node)
 
Node getNode ()
 

Private Attributes

ActionListener actionListener = null
 
ControlResponse ctrlRes = null
 

Detailed Description

Stores user data associated with an action XML node.

This class holds runtime information attached to action nodes, including the action listener and control response objects.

See also
org.cybergarage.upnp.Action

Constructor & Destructor Documentation

◆ ActionData()

org.cybergarage.upnp.xml.ActionData.ActionData ( )
inline

Constructs an empty action data object.

Member Function Documentation

◆ getActionListener()

ActionListener org.cybergarage.upnp.xml.ActionData.getActionListener ( )
inline

Returns the action listener associated with this action.

Returns
the action listener, or null if none is set

◆ getControlResponse()

ControlResponse org.cybergarage.upnp.xml.ActionData.getControlResponse ( )
inline

Returns the control response from the most recent action execution.

Returns
the control response, or null if the action has not been executed

◆ setActionListener()

void org.cybergarage.upnp.xml.ActionData.setActionListener ( ActionListener actionListener)
inline

Sets the action listener for this action.

Parameters
actionListenerthe action listener to set

◆ setControlResponse()

void org.cybergarage.upnp.xml.ActionData.setControlResponse ( ControlResponse res)
inline

Sets the control response for this action.

Parameters
resthe control response to store

Field Documentation

◆ actionListener

ActionListener org.cybergarage.upnp.xml.ActionData.actionListener = null
private

◆ ctrlRes

ControlResponse org.cybergarage.upnp.xml.ActionData.ctrlRes = null
private

The documentation for this class was generated from the following file: