SNode.C
|
#include <Pubrel.h>
Public Member Functions | |
Pubrel () | |
Pubrel (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::Pubrel::Pubrel | ( | ) |
Definition at line 53 of file Pubrel.cpp.
References iot::mqtt::ControlPacket::ControlPacket().
Referenced by Pubrel().
|
explicit |
Definition at line 57 of file Pubrel.cpp.
References iot::mqtt::types::UInt16::operator=(), packetIdentifier, and Pubrel().
Referenced by iot::mqtt::Mqtt::initSession(), and iot::mqtt::Mqtt::sendPubrel().
uint16_t iot::mqtt::packets::Pubrel::getPacketIdentifier | ( | ) | const |
Definition at line 66 of file Pubrel.cpp.
References packetIdentifier.
Referenced by iot::mqtt::Mqtt::_onPubrel().
|
overrideprivatevirtual |
Implements iot::mqtt::ControlPacket.
Definition at line 62 of file Pubrel.cpp.
References packetIdentifier, and iot::mqtt::types::TypeBase< ValueTypeT >::serialize().
|
protected |
Definition at line 68 of file Pubrel.h.
Referenced by iot::mqtt::client::packets::Pubrel::deserializeVP(), iot::mqtt::server::packets::Pubrel::deserializeVP(), getPacketIdentifier(), Pubrel(), and serializeVP().