kmMqtt 0.0.1
MQTT Client Library
Loading...
Searching...
No Matches
kmMqtt::mqtt::ConnectAck Class Reference
Inheritance diagram for kmMqtt::mqtt::ConnectAck:
kmMqtt::mqtt::BasePacket

Public Member Functions

PacketType getPacketType () const noexcept override
 Gets the packet type of the MQTT packet.
Public Member Functions inherited from kmMqtt::mqtt::BasePacket
EncodeResult encode ()
 Encodes the MQTT packet into a ByteBuffer.
DecodeResult decode ()
 Decodes the MQTT packet from the internal data buffer.
const FixedHeadergetFixedHeader () const
 Gets the fixed header of the MQTT packet.
const ByteBuffergetDataBuffer () const
 Gets the data buffer of the MQTT packet.
ByteBuffer && extractDataBuffer () noexcept
 Extracts the data buffer, transferring ownership to the caller.

Additional Inherited Members

Protected Member Functions inherited from kmMqtt::mqtt::BasePacket
std::size_t calculateFixedHeaderRemainingLength () const
 Calculates the remaining length for the fixed header based on other headers.
virtual void onFixedHeaderDecoded () const
 Callback invoked after the fixed header has been decoded.
void addEncodeHeader (const IEncodeHeader *header)
 Adds an encode header to the packet.
void addDecodeHeader (IDecodeHeader *header)
 Adds a decode header to the packet.

Member Function Documentation

◆ getPacketType()

PacketType kmMqtt::mqtt::ConnectAck::getPacketType ( ) const
overridevirtualnoexcept

Gets the packet type of the MQTT packet.

Returns
The PacketType enum value representing the packet type.

Implements kmMqtt::mqtt::BasePacket.


The documentation for this class was generated from the following file:
  • D:/Dev/Repos/kmMqtt/include/public/kmMqtt/Mqtt/Packets/Connection/ConnectAck.h