SNode.C
|
#include <Pubrec.h>
Public Member Functions | |
Pubrec () | |
Pubrec (uint16_t packetIdentifier) | |
uint16_t | getPacketIdentifier () 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::UInt16 | packetIdentifier |
![]() | |
uint8_t | flags = 0 |
Private Member Functions | |
std::vector< char > | serializeVP () const override |
iot::mqtt::packets::Pubrec::Pubrec | ( | ) |
Definition at line 53 of file Pubrec.cpp.
References iot::mqtt::ControlPacket::ControlPacket().
Referenced by Pubrec().
|
explicit |
Definition at line 57 of file Pubrec.cpp.
References iot::mqtt::types::UInt16::operator=(), packetIdentifier, and Pubrec().
Referenced by iot::mqtt::Mqtt::sendPubrec().
uint16_t iot::mqtt::packets::Pubrec::getPacketIdentifier | ( | ) | const |
Definition at line 66 of file Pubrec.cpp.
References packetIdentifier.
Referenced by iot::mqtt::Mqtt::_onPubrec().
|
overrideprivatevirtual |
Implements iot::mqtt::ControlPacket.
Definition at line 62 of file Pubrec.cpp.
References packetIdentifier, and iot::mqtt::types::TypeBase< ValueTypeT >::serialize().
|
protected |
Definition at line 68 of file Pubrec.h.
Referenced by iot::mqtt::client::packets::Pubrec::deserializeVP(), iot::mqtt::server::packets::Pubrec::deserializeVP(), getPacketIdentifier(), Pubrec(), and serializeVP().