KAATcpPingRequest Class Reference
| Inherits from | KAAMqttFrame : NSObject |
|---|---|
| Declared in | KAATcpPingRequest.h KAATcpPingRequest.m |
Overview
KaaTcp PingRequest class.
The PINGREQ message is an “are you alive?” message that is sent
from a connected client to the server.
– pack
Pack message into mqtt frame
- (void)packDiscussion
Pack message into mqtt frame
Declared In
KAAMqttFrame.h
– decode
Decode message from mqttFrame buffer
- (void)decodeDiscussion
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)needToCloseConnectionReturn 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