SNode.C
Loading...
Searching...
No Matches
iot::mqtt::packets::Disconnect Class Reference

#include <Disconnect.h>

Inheritance diagram for iot::mqtt::packets::Disconnect:
Collaboration diagram for iot::mqtt::packets::Disconnect:

Public Member Functions

 Disconnect ()
Public Member Functions inherited from iot::mqtt::ControlPacket
 ControlPacket (uint8_t type, const std::string &name)
 ControlPacket (const ControlPacket &)=default
 ControlPacket (ControlPacket &&)=default
virtual ~ControlPacket ()
ControlPacketoperator= (const ControlPacket &)=default
ControlPacketoperator= (ControlPacket &&)=default
std::vector< char > serialize () const
const std::string & getName () const

Private Member Functions

std::vector< char > serializeVP () const override

Additional Inherited Members

Protected Member Functions inherited from iot::mqtt::ControlPacket
uint8_t getType () const
uint8_t getFlags () const
Protected Attributes inherited from iot::mqtt::ControlPacket
uint8_t flags = 0

Detailed Description

Definition at line 53 of file Disconnect.h.

Constructor & Destructor Documentation

◆ Disconnect()

iot::mqtt::packets::Disconnect::Disconnect ( )

Definition at line 53 of file Disconnect.cpp.

54 : iot::mqtt::ControlPacket(MQTT_DISCONNECT, "DISCONNECT") {
55 }
#define MQTT_DISCONNECT
Definition Disconnect.h:55

References iot::mqtt::ControlPacket::ControlPacket().

Referenced by iot::mqtt::client::Mqtt::sendDisconnect().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ serializeVP()

std::vector< char > iot::mqtt::packets::Disconnect::serializeVP ( ) const
overrideprivatevirtual

Implements iot::mqtt::ControlPacket.

Definition at line 57 of file Disconnect.cpp.

57 {
58 return std::vector<char>();
59 }

The documentation for this class was generated from the following files: