Package com.flashphoner.fpwcsapi.ws
Class CallArguments
java.lang.Object
com.flashphoner.fpwcsapi.ws.CallArguments
This object is used for serialization of a Websocket message with custom data
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetArgument
(Integer index) Get argument by indexboolean
getArgumentAsBoolean
(Integer index) Get boolean argument by indexgetArgumentAsMap
(Integer index) Get Map argument by indexgetArgumentAsString
(Integer index) Get string argument by indexvoid
setArgument
(int index, Object object) Set object as argumenttoString()
-
Constructor Details
-
CallArguments
-
-
Method Details
-
setArgument
Set object as argument- Parameters:
index
- index of argumentobject
- object value
-
getArgument
Get argument by index- Parameters:
index
-- Returns:
-
getArgumentAsString
Get string argument by index- Parameters:
index
-- Returns:
-
getArgumentAsBoolean
Get boolean argument by index- Parameters:
index
-- Returns:
-
getArgumentAsMap
Get Map argument by index- Parameters:
index
-- Returns:
-
toString
-