SNode.C
|
#include <Subscribe.h>
Public Member Functions | |
Subscribe () | |
Subscribe (uint16_t packetIdentifier, const std::list< iot::mqtt::Topic > &topics) | |
uint16_t | getPacketIdentifier () const |
const std::list< iot::mqtt::Topic > & | getTopics () 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 |
std::list< iot::mqtt::Topic > | topics |
![]() | |
uint8_t | flags = 0 |
Private Member Functions | |
std::vector< char > | serializeVP () const override |
Definition at line 38 of file Subscribe.h.
iot::mqtt::packets::Subscribe::Subscribe | ( | ) |
Definition at line 34 of file Subscribe.cpp.
References Subscribe().
Referenced by Subscribe(), and Subscribe().
iot::mqtt::packets::Subscribe::Subscribe | ( | uint16_t | packetIdentifier, |
const std::list< iot::mqtt::Topic > & | topics ) |
Definition at line 38 of file Subscribe.cpp.
References Subscribe().
uint16_t iot::mqtt::packets::Subscribe::getPacketIdentifier | ( | ) | const |
Definition at line 60 of file Subscribe.cpp.
const std::list< Topic > & iot::mqtt::packets::Subscribe::getTopics | ( | ) | const |
Definition at line 64 of file Subscribe.cpp.
|
overrideprivatevirtual |
Implements iot::mqtt::ControlPacket.
Definition at line 44 of file Subscribe.cpp.
|
protected |
Definition at line 51 of file Subscribe.h.
|
protected |
Definition at line 53 of file Subscribe.h.