WebSocket base properties/methods.
More...
WebSocket base properties/methods.
◆ WebSocketBase()
fm.liveswitch.WebSocketBase.WebSocketBase |
( |
| ) |
|
◆ addOnLatestRoundTripTime()
Adds a handler that is raised when the latest round trip time is calculated.
◆ getLastRoundTripTime()
int fm.liveswitch.WebSocketBase.getLastRoundTripTime |
( |
| ) |
|
Gets the last round trip time.
◆ raiseCloseComplete()
Raises the close complete callback.
- Parameters
-
closeArgs | The close arguments. |
statusCode | The status code. |
reason | The reason. |
◆ raiseOnLatestRoundTripTime()
void fm.liveswitch.WebSocketBase.raiseOnLatestRoundTripTime |
( |
int |
value | ) |
|
|
protected |
Raises the OnLatestRoundTripTime event.
- Parameters
-
◆ raiseOpenFailure()
Raises the open failure callback.
- Parameters
-
openArgs | The open arguments. |
statusCode | The status code. |
exception | The exception. |
◆ raiseOpenSuccess()
Raises the open success callback.
- Parameters
-
openArgs | The open arguments. |
◆ raiseReceive()
Raises the receive callback.
- Parameters
-
openArgs | The open arguments. |
textMessage | The text message. |
binaryMessage | The binary message. |
◆ raiseStreamFailure()
Raises the stream failure callback.
- Parameters
-
openArgs | The open arguments. |
statusCode | The status code. |
exception | The exception. |
◆ removeOnLatestRoundTripTime()
Removes a handler that is raised when the latest round trip time is calculated.
◆ setLastRoundTripTime()
void fm.liveswitch.WebSocketBase.setLastRoundTripTime |
( |
int |
value | ) |
|
|
protected |
Sets the last round trip time.