fm.liveswitch.WebSocketCloseArgs Class Reference

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

Public Member Functions

fm.liveswitch.IAction1< fm.liveswitch.WebSocketCloseCompleteArgsgetOnComplete ()
 Gets the callback to execute when the connection is closed. More...
 
String getReason ()
 Gets the reason to send with the close frame. More...
 
fm.liveswitch.WebSocketStatusCode getStatusCode ()
 Gets the status code to send with the close frame. More...
 
void setOnComplete (fm.liveswitch.IAction1< fm.liveswitch.WebSocketCloseCompleteArgs > value)
 Sets the callback to execute when the connection is closed. More...
 
void setReason (String value)
 Sets the reason to send with the close frame. More...
 
void setStatusCode (fm.liveswitch.WebSocketStatusCode value)
 Sets the status code to send with the close frame. More...
 
 WebSocketCloseArgs ()
 Creates a new instance of fm.liveswitch.WebSocketCloseArgs with default values. 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

Close arguments for the fm.liveswitch.WebSocket class.

Constructor & Destructor Documentation

◆ WebSocketCloseArgs()

fm.liveswitch.WebSocketCloseArgs.WebSocketCloseArgs ( )

Creates a new instance of fm.liveswitch.WebSocketCloseArgs with default values.

Member Function Documentation

◆ getOnComplete()

fm.liveswitch.IAction1<fm.liveswitch.WebSocketCloseCompleteArgs> fm.liveswitch.WebSocketCloseArgs.getOnComplete ( )

Gets the callback to execute when the connection is closed.

◆ getReason()

String fm.liveswitch.WebSocketCloseArgs.getReason ( )

Gets the reason to send with the close frame.

◆ getStatusCode()

fm.liveswitch.WebSocketStatusCode fm.liveswitch.WebSocketCloseArgs.getStatusCode ( )

Gets the status code to send with the close frame.

◆ setOnComplete()

void fm.liveswitch.WebSocketCloseArgs.setOnComplete ( fm.liveswitch.IAction1< fm.liveswitch.WebSocketCloseCompleteArgs value)

Sets the callback to execute when the connection is closed.

◆ setReason()

void fm.liveswitch.WebSocketCloseArgs.setReason ( String  value)

Sets the reason to send with the close frame.

◆ setStatusCode()

void fm.liveswitch.WebSocketCloseArgs.setStatusCode ( fm.liveswitch.WebSocketStatusCode  value)

Sets the status code to send with the close frame.