Class Action


  • public class Action
    extends java.lang.Object
    Class to represent an UPnP action.
    • Constructor Summary

      Constructors 
      Constructor Description
      Action​(java.lang.String name, Service service)
      Creates an instance of an action.
    • Constructor Detail

      • Action

        public Action​(java.lang.String name,
                      Service service)
        Creates an instance of an action.
        Parameters:
        name - the name of the action
        service - the service this action belongs to
    • Method Detail

      • getName

        public java.lang.String getName()
        Get the name of the action.
        Returns:
        the name of the action
      • getService

        public Service getService()
        Get the service this action belongs to.
        Returns:
        the service this action belongs to
      • getInputArguments

        public java.util.List<Argument> getInputArguments()
        The list of input arguments. The returned list is unmodifiable but one can set the values of the input arguments by iterating over the list and calling Argument.setValue(java.lang.String) on each argument.
        Returns:
        the list of input arguments
      • getOutputArguments

        public java.util.List<Argument> getOutputArguments()
        The list of output arguments.
        Returns:
        the list of output arguments
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object