Represents a WebSocket Ping message with a transaction identifier. More...
Instance Methods | |
(NSString *) | - description |
Converts the ping message to its string representation. More... | |
(instancetype) | - initWithTransactionId: |
Initializes a new instance of the FMLiveSwitchWssPingMessage class. More... | |
(NSString *) | - transactionId |
Gets the transaction identifier associated with this ping message. More... | |
Class Methods | |
(FMLiveSwitchWssPingMessage *) | + parseWithMessage: |
Parses a string representation of a ping message into a FMLiveSwitchWssPingMessage instance. More... | |
(FMLiveSwitchWssPingMessage *) | + wssPingMessageWithTransactionId: |
Initializes a new instance of the FMLiveSwitchWssPingMessage class. More... | |
Represents a WebSocket Ping message with a transaction identifier.
- (NSString*) description |
Converts the ping message to its string representation.
- (instancetype) initWithTransactionId: | (NSString *) | transactionId |
Initializes a new instance of the FMLiveSwitchWssPingMessage class.
transactionId | The transaction identifier for the ping message. |
+ (FMLiveSwitchWssPingMessage*) parseWithMessage: | (NSString *) | message |
Parses a string representation of a ping message into a FMLiveSwitchWssPingMessage instance.
message | The string to parse, which should be in the format "ls-ping {transactionId}". |
- (NSString*) transactionId |
Gets the transaction identifier associated with this ping message.
+ (FMLiveSwitchWssPingMessage*) wssPingMessageWithTransactionId: | (NSString *) | transactionId |
Initializes a new instance of the FMLiveSwitchWssPingMessage class.
transactionId | The transaction identifier for the ping message. |