Class CallArguments

java.lang.Object
com.flashphoner.fpwcsapi.ws.CallArguments

public class CallArguments extends Object
This object is used for serialization of a Websocket message with custom data
See Also:
  • Constructor Details

    • CallArguments

      public CallArguments(List<Object> arguments)
  • Method Details

    • setArgument

      public void setArgument(int index, Object object)
      Set object as argument
      Parameters:
      index - index of argument
      object - object value
    • getArgument

      public Object getArgument(Integer index)
      Get argument by index
      Parameters:
      index -
      Returns:
    • getArgumentAsString

      public String getArgumentAsString(Integer index)
      Get string argument by index
      Parameters:
      index -
      Returns:
    • getArgumentAsBoolean

      public boolean getArgumentAsBoolean(Integer index)
      Get boolean argument by index
      Parameters:
      index -
      Returns:
    • getArgumentAsMap

      public Map<String,Object> getArgumentAsMap(Integer index)
      Get Map argument by index
      Parameters:
      index -
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object