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, Node actionNode)
           
 
Method Summary
 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()
           
static boolean isActionNode(Node node)
           
 void lock()
           
 boolean performActionListener(ActionRequest actionReq)
           
 boolean postControlAction()
           
 void print()
           
 void setActionListener(ActionListener listener)
           
 void setArgumentValue(java.lang.String name, int value)
           
 void setArgumentValue(java.lang.String name, java.lang.String value)
           
 void setArgumentValues(ArgumentList argList)
           
 void setName(java.lang.String value)
           
 void setStatus(int code)
           
 void setStatus(int code, java.lang.String descr)
           
 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,
              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()

getInputArgumentList

public ArgumentList getInputArgumentList()

getOutputArgumentList

public ArgumentList getOutputArgumentList()

getArgument

public Argument getArgument(java.lang.String name)

setArgumentValues

public void setArgumentValues(ArgumentList argList)

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 ActionListener getActionListener()

setActionListener

public void setActionListener(ActionListener listener)

performActionListener

public boolean performActionListener(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()