|
OSGi Service Platform Release 3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A UPnP action. Each UPnP service contains zero or more actions. Each action may have zero or more UPnP state variables as arguments.
| Method Summary | |
|---|---|
java.lang.String[] |
getInputArgumentNames()
Lists all input arguments for this action. |
java.lang.String |
getName()
Returns the action name. |
java.lang.String[] |
getOutputArgumentNames()
List all output arguments for this action. |
java.lang.String |
getReturnArgumentName()
Returns the name of the designated return argument. |
UPnPStateVariable |
getStateVariable(java.lang.String argumentName)
Finds the state variable associated with an argument name. |
java.util.Dictionary |
invoke(java.util.Dictionary args)
Invokes the action. |
| Method Detail |
public java.lang.String getName()
public java.lang.String getReturnArgumentName()
One of the output arguments can be flagged as a designated return argument.
public java.lang.String[] getInputArgumentNames()
Each action may have zero or more input arguments.
UPnPStateVariablepublic java.lang.String[] getOutputArgumentNames()
UPnPStateVariablepublic UPnPStateVariable getStateVariable(java.lang.String argumentName)
argumentName - The name of the UPnP action argument.UPnPStateVariable
public java.util.Dictionary invoke(java.util.Dictionary args)
throws java.lang.Exception
args - A Dictionary of arguments. Must contain the correct set and
type of arguments for this action. May be null if no
input arguments exist.java.lang.Exception - The execution fails for some reason.UPnPStateVariable
|
OSGi Service Platform Release 3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||