fm.liveswitch.WebSocketSendArgs Class Reference

Send arguments for the fm.liveswitch.WebSocket class. More...

Public Member Functions

byte[] getBinaryMessage ()
 Gets the message to send as binary data. More...
 
String getTextMessage ()
 Gets the message to send as text data. More...
 
int getTimeout ()
 Gets the timeout for the request (in ms). More...
 
void setBinaryMessage (byte[] value)
 Sets the message to send as binary data. More...
 
void setTextMessage (String value)
 Sets the message to send as text data. More...
 
void setTimeout (int value)
 Sets the timeout for the request (in ms). More...
 
 WebSocketSendArgs ()
 Creates a new fm.liveswitch.WebSocketSendArgs instance. More...
 
- Public Member Functions inherited from fm.liveswitch.Dynamic
java.util.HashMap< String, Object > getDynamicProperties ()
 Gets all dynamic properties on this instance. More...
 
Object getDynamicValue (String key)
 Gets a property value from the local cache. More...
 
void setDynamicValue (String key, Object value)
 Sets a property value in the local cache. More...
 
boolean unsetDynamicValue (String key)
 Removes a property value from the local cache. More...
 

Additional Inherited Members

- Protected Member Functions inherited from fm.liveswitch.Dynamic
 Dynamic ()
 
- Protected Member Functions inherited from fm.liveswitch.Serializable
boolean getIsDirty ()
 Gets a value indicating whether this instance is dirty. More...
 
 Serializable ()
 Initializes a new instance of the fm.liveswitch.Serializable class. More...
 
void setIsDirty (boolean value)
 Sets a value indicating whether this instance is dirty. More...
 

Detailed Description

Send arguments for the fm.liveswitch.WebSocket class.

Constructor & Destructor Documentation

◆ WebSocketSendArgs()

fm.liveswitch.WebSocketSendArgs.WebSocketSendArgs ( )

Creates a new fm.liveswitch.WebSocketSendArgs instance.

Member Function Documentation

◆ getBinaryMessage()

byte [] fm.liveswitch.WebSocketSendArgs.getBinaryMessage ( )

Gets the message to send as binary data.

◆ getTextMessage()

String fm.liveswitch.WebSocketSendArgs.getTextMessage ( )

Gets the message to send as text data.

◆ getTimeout()

int fm.liveswitch.WebSocketSendArgs.getTimeout ( )

Gets the timeout for the request (in ms).

◆ setBinaryMessage()

void fm.liveswitch.WebSocketSendArgs.setBinaryMessage ( byte[]  value)

Sets the message to send as binary data.

◆ setTextMessage()

void fm.liveswitch.WebSocketSendArgs.setTextMessage ( String  value)

Sets the message to send as text data.

◆ setTimeout()

void fm.liveswitch.WebSocketSendArgs.setTimeout ( int  value)

Sets the timeout for the request (in ms).