SNode.C
|
#include <Subscribe.h>
Public Member Functions | |
Subscribe (uint32_t remainingLength, uint8_t flags) | |
![]() | |
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 |
![]() | |
~ControlPacketDeserializer () override | |
![]() | |
ControlPacketDeserializer ()=default | |
ControlPacketDeserializer (uint32_t remainingLength, uint8_t flags, uint8_t mustFlags) | |
ControlPacketDeserializer & | operator= (const ControlPacketDeserializer &)=default |
std::size_t | deserialize (iot::mqtt::MqttContext *mqttContext) |
uint32_t | getRemainingLength () const |
bool | isComplete () const |
bool | isError () const |
std::size_t | getConsumed () const |
Private Member Functions | |
std::size_t | deserializeVP (iot::mqtt::MqttContext *mqttContext) override |
void | deliverPacket (iot::mqtt::server::Mqtt *mqtt) override |
Private Attributes | |
iot::mqtt::types::String | topic |
iot::mqtt::types::UInt8 | qoS |
int | state = 0 |
Additional Inherited Members | |
![]() | |
iot::mqtt::types::UInt16 | packetIdentifier |
std::list< iot::mqtt::Topic > | topics |
![]() | |
uint8_t | flags = 0 |
![]() | |
bool | complete = false |
bool | error = false |
uint32_t | remainingLength = 0 |
std::size_t | consumed = 0 |
Definition at line 34 of file Subscribe.h.
iot::mqtt::server::packets::Subscribe::Subscribe | ( | uint32_t | remainingLength, |
uint8_t | flags ) |
Definition at line 32 of file Subscribe.cpp.
|
overrideprivatevirtual |
Implements iot::mqtt::server::ControlPacketDeserializer.
Definition at line 81 of file Subscribe.cpp.
|
overrideprivatevirtual |
Implements iot::mqtt::ControlPacketDeserializer.
Definition at line 37 of file Subscribe.cpp.
|
private |
Definition at line 45 of file Subscribe.h.
|
private |
Definition at line 47 of file Subscribe.h.
|
private |
Definition at line 44 of file Subscribe.h.