Class ServiceAction


  • public class ServiceAction
    extends Object
    An object to represent a service action proposed by an UPNP service
    Version:
    1.0
    Author:
    SuperBonBon
    • Constructor Detail

      • ServiceAction

        protected ServiceAction()
    • Method Detail

      • getActionArguments

        public List getActionArguments()
        The action in and out arguments ServiceActionArgument objects list
        Returns:
        the list with ServiceActionArgument objects or null if the action has no params
      • getActionArgument

        public ServiceActionArgument getActionArgument​(String argumentName)
        Look for an ServiceActionArgument for a given name
        Parameters:
        argumentName - the argument name
        Returns:
        the argument or null if not found or not available
      • setActionArguments

        protected void setActionArguments​(List orderedActionArguments)
      • getInputActionArguments

        public List 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 ServiceActionArgument getInputActionArgument​(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 List 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 ServiceActionArgument getOutputActionArgument​(String argumentName)
        Look for an output ServiceActionArgument for a given name
        Parameters:
        argumentName - the input argument name
        Returns:
        the argument or null if not found or not available
      • getInputActionArgumentsNames

        public List getInputActionArgumentsNames()
        Return a list containing input ( when a response is sent ) arguments names
        Returns:
        a list containing input arguments names as Strings or null when nothing is needed for such operation
      • getOutputActionArgumentsNames

        public List getOutputActionArgumentsNames()
        Return a list containing output ( when a response is received ) arguments names
        Returns:
        a list containing output arguments names as Strings or null when nothing returned for such operation
      • getName

        public String getName()
        The action name
        Returns:
        The action name