Represents a WebSocket Pong message with a transaction identifier. More...
Public Member Functions | |
String | getTransactionId () |
Gets the transaction identifier associated with this pong message. More... | |
String | toString () |
Converts the pong message to its string representation. More... | |
WssPongMessage (fm.liveswitch.WssPingMessage ping) | |
Initializes a new instance of the fm.liveswitch.WssPongMessage class with the same transaction ID as the ping message. More... | |
WssPongMessage (String transactionId) | |
Initializes a new instance of the fm.liveswitch.WssPongMessage class. More... | |
Static Public Member Functions | |
static fm.liveswitch.WssPongMessage | parse (String message) |
Parses a string representation of a pong message into a fm.liveswitch.WssPongMessage instance. More... | |
Represents a WebSocket Pong message with a transaction identifier.
fm.liveswitch.WssPongMessage.WssPongMessage | ( | fm.liveswitch.WssPingMessage | ping | ) |
Initializes a new instance of the fm.liveswitch.WssPongMessage class with the same transaction ID as the ping message.
ping | The ping message to respond to. |
fm.liveswitch.WssPongMessage.WssPongMessage | ( | String | transactionId | ) |
Initializes a new instance of the fm.liveswitch.WssPongMessage class.
transactionId | The transaction identifier for the pong message. |
String fm.liveswitch.WssPongMessage.getTransactionId | ( | ) |
Gets the transaction identifier associated with this pong message.
|
static |
Parses a string representation of a pong message into a fm.liveswitch.WssPongMessage instance.
message | The string to parse, which should be in the format "ls-pong {transactionId}". |
String fm.liveswitch.WssPongMessage.toString | ( | ) |
Converts the pong message to its string representation.