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