fm.liveswitch.WebSocketReceiveArgs Class Reference

Arguments for fm.liveswitch.WebSocketOpenArgs#getOnReceive. More...

Public Member Functions

byte[] getBinaryMessage ()
 Gets the message received from the server as binary data. More...
 
long getByteCount ()
 Gets the byte count of the message. More...
 
boolean getIsText ()
 Gets whether or not the received message is text. More...
 
fm.liveswitch.WebSocketOpenArgs getOpenArgs ()
 Gets the original arguments passed to the open method. More...
 
String getTextMessage ()
 Gets the message received from the server as text data. More...
 
void setBinaryMessage (byte[] value)
 Sets the message received from the server as binary data. More...
 
void setOpenArgs (fm.liveswitch.WebSocketOpenArgs value)
 Sets the original arguments passed to the open method. More...
 
void setTextMessage (String value)
 Sets the message received from the server as text data. More...
 
 WebSocketReceiveArgs ()
 
- 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

Constructor & Destructor Documentation

◆ WebSocketReceiveArgs()

fm.liveswitch.WebSocketReceiveArgs.WebSocketReceiveArgs ( )

Member Function Documentation

◆ getBinaryMessage()

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

Gets the message received from the server as binary data.

◆ getByteCount()

long fm.liveswitch.WebSocketReceiveArgs.getByteCount ( )

Gets the byte count of the message.

◆ getIsText()

boolean fm.liveswitch.WebSocketReceiveArgs.getIsText ( )

Gets whether or not the received message is text.

◆ getOpenArgs()

fm.liveswitch.WebSocketOpenArgs fm.liveswitch.WebSocketReceiveArgs.getOpenArgs ( )

Gets the original arguments passed to the open method.

◆ getTextMessage()

String fm.liveswitch.WebSocketReceiveArgs.getTextMessage ( )

Gets the message received from the server as text data.

◆ setBinaryMessage()

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

Sets the message received from the server as binary data.

◆ setOpenArgs()

void fm.liveswitch.WebSocketReceiveArgs.setOpenArgs ( fm.liveswitch.WebSocketOpenArgs  value)

Sets the original arguments passed to the open method.

◆ setTextMessage()

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

Sets the message received from the server as text data.