SNode.C
|
#include <Unsubscribe.h>
Public Member Functions | |
Unsubscribe (uint32_t remainingLength, uint8_t flags) | |
![]() | |
Unsubscribe () | |
Unsubscribe (uint16_t packetIdentifier, const std::list< std::string > &topics) | |
uint16_t | getPacketIdentifier () const |
const std::list< std::string > & | 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 |
int | state = 0 |
Additional Inherited Members | |
![]() | |
iot::mqtt::types::UInt16 | packetIdentifier |
std::list< std::string > | 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 Unsubscribe.h.
iot::mqtt::server::packets::Unsubscribe::Unsubscribe | ( | uint32_t | remainingLength, |
uint8_t | flags ) |
Definition at line 33 of file Unsubscribe.cpp.
|
overrideprivatevirtual |
Implements iot::mqtt::server::ControlPacketDeserializer.
Definition at line 68 of file Unsubscribe.cpp.
|
overrideprivatevirtual |
Implements iot::mqtt::ControlPacketDeserializer.
Definition at line 38 of file Unsubscribe.cpp.
|
private |
Definition at line 46 of file Unsubscribe.h.
|
private |
Definition at line 44 of file Unsubscribe.h.