org.cybergarage.upnp
Class Action
java.lang.Object
org.cybergarage.upnp.Action
public class Action
- extends java.lang.Object
Field Summary |
static java.lang.String |
ELEM_NAME
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ELEM_NAME
public static final java.lang.String ELEM_NAME
- See Also:
- Constant Field Values
Action
public Action(Node serviceNode)
Action
public Action(Node serviceNode,
Node actionNode)
Action
public Action(Action action)
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()