Open arguments for the fm.liveswitch.WebSocket class. More...
Public Member Functions | |
| int | getHandshakeTimeout () |
| Gets the timeout for the handshake (in ms). More... | |
| fm.liveswitch.ManagedConcurrentDictionary< String, String > | getHeaders () |
| Gets headers to send with the handshake request. More... | |
| int | getKeepAliveInterval () |
| Gets the keep-alive interval for the stream (in ms). More... | |
| int | getKeepAliveTimeout () |
| Gets the keep-alive timeout for the stream (in ms). More... | |
| fm.liveswitch.IAction1< fm.liveswitch.WebSocketOpenFailureArgs > | getOnFailure () |
| Gets the callback to invoke when a connection could not be established. More... | |
| fm.liveswitch.IAction1< fm.liveswitch.WebSocketReceiveArgs > | getOnReceive () |
| Gets the callback to invoke when a message is received. More... | |
| fm.liveswitch.IAction1< fm.liveswitch.HttpRequestCreatedArgs > | getOnRequestCreated () |
| Gets the callback to invoke before the handshake request is sent. More... | |
| fm.liveswitch.IAction1< fm.liveswitch.HttpResponseReceivedArgs > | getOnResponseReceived () |
| Gets the callback to invoke after the handshake response is received. More... | |
| fm.liveswitch.IAction1< fm.liveswitch.WebSocketStreamFailureArgs > | getOnStreamFailure () |
| Gets the callback to invoke when a successful connection breaks down. More... | |
| fm.liveswitch.IAction1< fm.liveswitch.WebSocketOpenSuccessArgs > | getOnSuccess () |
| Gets the callback to invoke when a successful connection has been established. More... | |
| fm.liveswitch.RelayPort | getRelayPort () |
| Gets the relay port to dispatch messages. More... | |
| Object | getSender () |
| Gets the sender of the request. More... | |
| int | getStreamTimeout () |
| Gets the timeout for the stream (in ms). More... | |
| void | setHandshakeTimeout (int value) |
| Sets the timeout for the handshake (in ms). More... | |
| void | setHeaders (fm.liveswitch.ManagedConcurrentDictionary< String, String > value) |
| Sets headers to send with the handshake request. More... | |
| void | setKeepAliveInterval (int value) |
| Sets the keep-alive interval for the stream (in ms). More... | |
| void | setKeepAliveTimeout (int value) |
| Sets the keep-alive timeout for the stream (in ms). More... | |
| void | setOnFailure (fm.liveswitch.IAction1< fm.liveswitch.WebSocketOpenFailureArgs > value) |
| Sets the callback to invoke when a connection could not be established. More... | |
| void | setOnReceive (fm.liveswitch.IAction1< fm.liveswitch.WebSocketReceiveArgs > value) |
| Sets the callback to invoke when a message is received. More... | |
| void | setOnRequestCreated (fm.liveswitch.IAction1< fm.liveswitch.HttpRequestCreatedArgs > value) |
| Sets the callback to invoke before the handshake request is sent. More... | |
| void | setOnResponseReceived (fm.liveswitch.IAction1< fm.liveswitch.HttpResponseReceivedArgs > value) |
| Sets the callback to invoke after the handshake response is received. More... | |
| void | setOnStreamFailure (fm.liveswitch.IAction1< fm.liveswitch.WebSocketStreamFailureArgs > value) |
| Sets the callback to invoke when a successful connection breaks down. More... | |
| void | setOnSuccess (fm.liveswitch.IAction1< fm.liveswitch.WebSocketOpenSuccessArgs > value) |
| Sets the callback to invoke when a successful connection has been established. More... | |
| void | setRelayPort (fm.liveswitch.RelayPort value) |
| Sets the relay port to dispatch messages. More... | |
| void | setSender (Object value) |
| Sets the sender of the request. More... | |
| void | setStreamTimeout (int value) |
| Sets the timeout for the stream (in ms). More... | |
| WebSocketOpenArgs () | |
| Creates a new instance of. 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... | |
Open arguments for the fm.liveswitch.WebSocket class.
| fm.liveswitch.WebSocketOpenArgs.WebSocketOpenArgs | ( | ) |
Creates a new instance of.
| int fm.liveswitch.WebSocketOpenArgs.getHandshakeTimeout | ( | ) |
Gets the timeout for the handshake (in ms).
| fm.liveswitch.ManagedConcurrentDictionary<String,String> fm.liveswitch.WebSocketOpenArgs.getHeaders | ( | ) |
Gets headers to send with the handshake request.
| int fm.liveswitch.WebSocketOpenArgs.getKeepAliveInterval | ( | ) |
Gets the keep-alive interval for the stream (in ms).
Defaults to 5,000.
| int fm.liveswitch.WebSocketOpenArgs.getKeepAliveTimeout | ( | ) |
Gets the keep-alive timeout for the stream (in ms).
Defaults to 7,500.
| fm.liveswitch.IAction1<fm.liveswitch.WebSocketOpenFailureArgs> fm.liveswitch.WebSocketOpenArgs.getOnFailure | ( | ) |
Gets the callback to invoke when a connection could not be established.
| fm.liveswitch.IAction1<fm.liveswitch.WebSocketReceiveArgs> fm.liveswitch.WebSocketOpenArgs.getOnReceive | ( | ) |
Gets the callback to invoke when a message is received.
| fm.liveswitch.IAction1<fm.liveswitch.HttpRequestCreatedArgs> fm.liveswitch.WebSocketOpenArgs.getOnRequestCreated | ( | ) |
Gets the callback to invoke before the handshake request is sent.
| fm.liveswitch.IAction1<fm.liveswitch.HttpResponseReceivedArgs> fm.liveswitch.WebSocketOpenArgs.getOnResponseReceived | ( | ) |
Gets the callback to invoke after the handshake response is received.
| fm.liveswitch.IAction1<fm.liveswitch.WebSocketStreamFailureArgs> fm.liveswitch.WebSocketOpenArgs.getOnStreamFailure | ( | ) |
Gets the callback to invoke when a successful connection breaks down.
| fm.liveswitch.IAction1<fm.liveswitch.WebSocketOpenSuccessArgs> fm.liveswitch.WebSocketOpenArgs.getOnSuccess | ( | ) |
Gets the callback to invoke when a successful connection has been established.
| fm.liveswitch.RelayPort fm.liveswitch.WebSocketOpenArgs.getRelayPort | ( | ) |
Gets the relay port to dispatch messages.
| Object fm.liveswitch.WebSocketOpenArgs.getSender | ( | ) |
Gets the sender of the request.
| int fm.liveswitch.WebSocketOpenArgs.getStreamTimeout | ( | ) |
Gets the timeout for the stream (in ms).
| void fm.liveswitch.WebSocketOpenArgs.setHandshakeTimeout | ( | int | value | ) |
Sets the timeout for the handshake (in ms).
| void fm.liveswitch.WebSocketOpenArgs.setHeaders | ( | fm.liveswitch.ManagedConcurrentDictionary< String, String > | value | ) |
Sets headers to send with the handshake request.
| void fm.liveswitch.WebSocketOpenArgs.setKeepAliveInterval | ( | int | value | ) |
Sets the keep-alive interval for the stream (in ms).
Defaults to 5,000.
| void fm.liveswitch.WebSocketOpenArgs.setKeepAliveTimeout | ( | int | value | ) |
Sets the keep-alive timeout for the stream (in ms).
Defaults to 7,500.
| void fm.liveswitch.WebSocketOpenArgs.setOnFailure | ( | fm.liveswitch.IAction1< fm.liveswitch.WebSocketOpenFailureArgs > | value | ) |
Sets the callback to invoke when a connection could not be established.
| void fm.liveswitch.WebSocketOpenArgs.setOnReceive | ( | fm.liveswitch.IAction1< fm.liveswitch.WebSocketReceiveArgs > | value | ) |
Sets the callback to invoke when a message is received.
| void fm.liveswitch.WebSocketOpenArgs.setOnRequestCreated | ( | fm.liveswitch.IAction1< fm.liveswitch.HttpRequestCreatedArgs > | value | ) |
Sets the callback to invoke before the handshake request is sent.
| void fm.liveswitch.WebSocketOpenArgs.setOnResponseReceived | ( | fm.liveswitch.IAction1< fm.liveswitch.HttpResponseReceivedArgs > | value | ) |
Sets the callback to invoke after the handshake response is received.
| void fm.liveswitch.WebSocketOpenArgs.setOnStreamFailure | ( | fm.liveswitch.IAction1< fm.liveswitch.WebSocketStreamFailureArgs > | value | ) |
Sets the callback to invoke when a successful connection breaks down.
| void fm.liveswitch.WebSocketOpenArgs.setOnSuccess | ( | fm.liveswitch.IAction1< fm.liveswitch.WebSocketOpenSuccessArgs > | value | ) |
Sets the callback to invoke when a successful connection has been established.
| void fm.liveswitch.WebSocketOpenArgs.setRelayPort | ( | fm.liveswitch.RelayPort | value | ) |
Sets the relay port to dispatch messages.
| void fm.liveswitch.WebSocketOpenArgs.setSender | ( | Object | value | ) |
Sets the sender of the request.
| void fm.liveswitch.WebSocketOpenArgs.setStreamTimeout | ( | int | value | ) |
Sets the timeout for the stream (in ms).