Package net.sbbi.upnp.services
Class Action
java.lang.Object
net.sbbi.upnp.services.Action
An object to represent a service action proposed by an UPNP service
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetActionArgument
(String argumentName) Look for anArgument
for a given namegetInputActionArgument
(String argumentName) Look for an input ServiceActionArgument for a given nameArgument[]
Return a list containing input ( when a response is sent ) arguments objectsgetName()
The action namegetOutputActionArgument
(String argumentName) Look for an outputArgument
for a given nameArgument[]
Return a list containing output ( when a response is received ) arguments objectstoString()
-
Field Details
-
name
-
parent
-
arguments
-
-
Method Details
-
getActionArgument
Look for anArgument
for a given name- Parameters:
argumentName
- the argument name- Returns:
- the argument or null if not found or not available
-
getInputActionArguments
Return a list containing input ( when a response is sent ) arguments objects- Returns:
- a list containing input arguments ServiceActionArgument objects or null when nothing is needed for such operation
-
getInputActionArgument
Look for an input ServiceActionArgument for a given name- Parameters:
argumentName
- the input argument name- Returns:
- the argument or null if not found or not available
-
getOutputActionArguments
Return a list containing output ( when a response is received ) arguments objects- Returns:
- a list containing output arguments ServiceActionArgument objects or null when nothing returned for such operation
-
getOutputActionArgument
Look for an outputArgument
for a given name- Parameters:
argumentName
- the input argument name- Returns:
- the
Argument
or null if not found or not available
-
getName
The action name- Returns:
- The action name
-
toString
-