org.cybergarage.upnp
Class Action

java.lang.Object
  extended by org.cybergarage.upnp.Action

public class Action
extends java.lang.Object


Field Summary
static java.lang.String ELEM_NAME
           
 
Constructor Summary
Action(Action action)
           
Action(Node serviceNode)
           
Action(Node serviceNode, Node actionNode)
           
 
Method Summary
 org.cybergarage.upnp.control.ActionListener getActionListener()
           
 Node getActionNode()
           
 Argument getArgument(java.lang.String name)
           
 int getArgumentIntegerValue(java.lang.String name)
           
 ArgumentList getArgumentList()
           
 java.lang.String getArgumentValue(java.lang.String name)
           
 UPnPStatus getControlStatus()
           
 ArgumentList getInputArgumentList()
           
 java.lang.String getName()
           
 ArgumentList getOutputArgumentList()
           
 Service getService()
           
 UPnPStatus getStatus()
           
 java.lang.Object getUserData()
           
static boolean isActionNode(Node node)
           
 void lock()
           
 boolean performActionListener(org.cybergarage.upnp.control.ActionRequest actionReq)
           
 boolean postControlAction()
           
 void print()
           
 void setActionListener(org.cybergarage.upnp.control.ActionListener listener)
           
 void setArgumentList(ArgumentList al)
           
 void setArgumentValue(java.lang.String name, int value)
           
 void setArgumentValue(java.lang.String name, java.lang.String value)
           
 void setArgumentValues(ArgumentList argList)
          Deprecated. You should use one of the following methods instead:
- setInArgumentValues(ArgumentList)
- setOutArgumentValues(ArgumentList)
 void setInArgumentValues(ArgumentList argList)
           
 void setName(java.lang.String value)
           
 void setOutArgumentValues(ArgumentList argList)
           
 void setStatus(int code)
           
 void setStatus(int code, java.lang.String descr)
           
 void setUserData(java.lang.Object data)
           
 void unlock()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ELEM_NAME

public static final java.lang.String ELEM_NAME
See Also:
Constant Field Values
Constructor Detail

Action

public Action(Node serviceNode)

Action

public Action(Node serviceNode,
              Node actionNode)

Action

public Action(Action action)
Method Detail

getService

public Service getService()

getActionNode

public Node getActionNode()

lock

public void lock()

unlock

public void unlock()

isActionNode

public static boolean isActionNode(Node node)

setName

public void setName(java.lang.String value)

getName

public java.lang.String getName()

getArgumentList

public ArgumentList getArgumentList()

setArgumentList

public void setArgumentList(ArgumentList al)

getInputArgumentList

public ArgumentList getInputArgumentList()

getOutputArgumentList

public ArgumentList getOutputArgumentList()

getArgument

public Argument getArgument(java.lang.String name)

setArgumentValues

public void setArgumentValues(ArgumentList argList)
Deprecated. You should use one of the following methods instead:
- setInArgumentValues(ArgumentList)
- setOutArgumentValues(ArgumentList)


setInArgumentValues

public void setInArgumentValues(ArgumentList argList)
Parameters:
argList -
Since:
1.8.0

setOutArgumentValues

public void setOutArgumentValues(ArgumentList argList)
Parameters:
argList -
Since:
1.8.0

setArgumentValue

public void setArgumentValue(java.lang.String name,
                             java.lang.String value)

setArgumentValue

public void setArgumentValue(java.lang.String name,
                             int value)

getArgumentValue

public java.lang.String getArgumentValue(java.lang.String name)

getArgumentIntegerValue

public int getArgumentIntegerValue(java.lang.String name)

getActionListener

public org.cybergarage.upnp.control.ActionListener getActionListener()

setActionListener

public void setActionListener(org.cybergarage.upnp.control.ActionListener listener)

performActionListener

public boolean performActionListener(org.cybergarage.upnp.control.ActionRequest actionReq)

getControlStatus

public UPnPStatus getControlStatus()

postControlAction

public boolean postControlAction()

print

public void print()

setStatus

public void setStatus(int code,
                      java.lang.String descr)

setStatus

public void setStatus(int code)

getStatus

public UPnPStatus getStatus()

setUserData

public void setUserData(java.lang.Object data)

getUserData

public java.lang.Object getUserData()