KAATcpPingResponse Class Reference
Inherits from | KAAMqttFrame : NSObject |
---|---|
Declared in | KAATcpPingResponse.h KAATcpPingResponse.m |
Overview
KaaTcp PingResponse class.
A PINGRESP message is the response sent by a server to a PINGREQ message
and means “yes I am alive”.
– pack
Pack message into mqtt frame
- (void)pack
Discussion
Pack message into mqtt frame
Declared In
KAAMqttFrame.h
– decode
Decode message from mqttFrame buffer
- (void)decode
Discussion
Decode message from mqttFrame buffer
Exceptions
KaaTcpProtocolException |
TCP exception |
---|
Declared In
KAAMqttFrame.h
– needToCloseConnection
Check if this Mqtt frame should be last frame on connection and connection should be closed.
- (BOOL)needToCloseConnection
Return Value
YES if connection should be closed after frame transmition.
Discussion
Check if this Mqtt frame should be last frame on connection and connection should be closed.
Declared In
KAAMqttFrame.h