SNode.C
|
#include <Connack.h>
Public Member Functions | |
Connack () | |
Connack (uint8_t returncode, uint8_t acknowledgeFlags) | |
uint8_t | getAcknowledgeFlags () const |
uint8_t | getReturnCode () const |
bool | getSessionPresent () const |
![]() | |
ControlPacket (uint8_t type, const std::string &name) | |
ControlPacket (const ControlPacket &)=default | |
ControlPacket (ControlPacket &&)=default | |
virtual | ~ControlPacket () |
ControlPacket & | operator= (const ControlPacket &)=default |
ControlPacket & | operator= (ControlPacket &&)=default |
std::vector< char > | serialize () const |
const std::string & | getName () const |
uint8_t | getType () const |
uint8_t | getFlags () const |
Protected Attributes | |
iot::mqtt::types::UInt8 | acknowledgeFlags |
iot::mqtt::types::UInt8 | returnCode |
bool | sessionPresent = false |
![]() | |
uint8_t | flags = 0 |
Private Member Functions | |
std::vector< char > | serializeVP () const override |
iot::mqtt::packets::Connack::Connack | ( | ) |
Definition at line 31 of file Connack.cpp.
References Connack().
Referenced by Connack(), and Connack().
iot::mqtt::packets::Connack::Connack | ( | uint8_t | returncode, |
uint8_t | acknowledgeFlags ) |
Definition at line 35 of file Connack.cpp.
References Connack().
uint8_t iot::mqtt::packets::Connack::getAcknowledgeFlags | ( | ) | const |
Definition at line 50 of file Connack.cpp.
uint8_t iot::mqtt::packets::Connack::getReturnCode | ( | ) | const |
Definition at line 54 of file Connack.cpp.
bool iot::mqtt::packets::Connack::getSessionPresent | ( | ) | const |
|
overrideprivatevirtual |
Implements iot::mqtt::ControlPacket.
Definition at line 41 of file Connack.cpp.
|
protected |
|
protected |
|
protected |
Definition at line 62 of file Connack.h.
Referenced by getSessionPresent().