Package org.cybergarage.upnp
Class Action
java.lang.Object
org.cybergarage.upnp.Action
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetArgument
(String name) int
getArgumentValue
(String name) getName()
static boolean
isActionNode
(Node node) void
lock()
boolean
performActionListener
(ActionRequest actionReq) boolean
boolean
postControlAction
(String fromHost) I2P - bind HTTP socket to specified local host addressvoid
print()
void
setActionListener
(ActionListener listener) void
void
setArgumentValue
(String name, int value) void
setArgumentValue
(String name, String value) void
setArgumentValues
(ArgumentList argList) Deprecated.void
setInArgumentValues
(ArgumentList argList) void
void
setOutArgumentValues
(ArgumentList argList) (package private) void
void
setStatus
(int code) void
void
setUserData
(Object data) void
unlock()
-
Field Details
-
ELEM_NAME
- See Also:
-
-
Constructor Details
-
Action
-
Action
-
Action
-
-
Method Details
-
getService
-
setService
-
getActionNode
-
lock
public void lock() -
unlock
public void unlock() -
isActionNode
-
setName
-
getName
-
getArgumentList
-
setArgumentList
-
getInputArgumentList
-
getOutputArgumentList
-
getArgument
-
setArgumentValues
Deprecated.You should use one of the following methods instead:
-setInArgumentValues(ArgumentList)
-setOutArgumentValues(ArgumentList)
-
setInArgumentValues
- Parameters:
argList
-- Since:
- 1.8.0
-
setOutArgumentValues
- Parameters:
argList
-- Since:
- 1.8.0
-
setArgumentValue
-
setArgumentValue
-
getArgumentValue
-
getArgumentIntegerValue
-
getActionListener
-
setActionListener
-
performActionListener
-
getControlStatus
-
postControlAction
public boolean postControlAction() -
postControlAction
I2P - bind HTTP socket to specified local host address- Parameters:
fromHost
- null to not bind to a particlar local address- Since:
- 0.9.50
-
print
public void print() -
setStatus
-
setStatus
public void setStatus(int code) -
getStatus
-
setUserData
-
getUserData
-
-
setInArgumentValues(ArgumentList)
-
setOutArgumentValues(ArgumentList)