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