Package net.sbbi.upnp.services
Class Action
- java.lang.Object
-
- net.sbbi.upnp.services.Action
-
public class Action extends java.lang.ObjectAn object to represent a service action proposed by an UPNP service
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArgumentgetActionArgument(java.lang.String argumentName)Look for anArgumentfor a given nameArgumentgetInputActionArgument(java.lang.String argumentName)Look for an input ServiceActionArgument for a given nameArgument[]getInputActionArguments()Return a list containing input ( when a response is sent ) arguments objectsjava.lang.StringgetName()The action nameArgumentgetOutputActionArgument(java.lang.String argumentName)Look for an outputArgumentfor a given nameArgument[]getOutputActionArguments()Return a list containing output ( when a response is received ) arguments objectsjava.lang.StringtoString()
-
-
-
Method Detail
-
getActionArgument
public Argument getActionArgument(java.lang.String argumentName)
Look for anArgumentfor a given name- Parameters:
argumentName- the argument name- Returns:
- the argument or null if not found or not available
-
getInputActionArguments
public Argument[] 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
public Argument getInputActionArgument(java.lang.String argumentName)
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
public Argument[] 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
public Argument getOutputActionArgument(java.lang.String argumentName)
Look for an outputArgumentfor a given name- Parameters:
argumentName- the input argument name- Returns:
- the
Argumentor null if not found or not available
-
getName
public java.lang.String getName()
The action name- Returns:
- The action name
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-