|
SNode.C
|
#include <Pubcomp.h>
Public Member Functions | |
| Pubcomp (uint32_t remainingLength, uint8_t flags) | |
Public Member Functions inherited from iot::mqtt::packets::Pubcomp | |
| Pubcomp () | |
| Pubcomp (uint16_t packetIdentifier) | |
| uint16_t | getPacketIdentifier () const |
Public Member Functions inherited from iot::mqtt::ControlPacket | |
| 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 |
Public Member Functions inherited from iot::mqtt::server::ControlPacketDeserializer | |
| ~ControlPacketDeserializer () override | |
Public Member Functions inherited from iot::mqtt::ControlPacketDeserializer | |
| 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 |
Additional Inherited Members | |
Protected Member Functions inherited from iot::mqtt::ControlPacket | |
| uint8_t | getType () const |
| uint8_t | getFlags () const |
Protected Attributes inherited from iot::mqtt::packets::Pubcomp | |
| iot::mqtt::types::UInt16 | packetIdentifier |
Protected Attributes inherited from iot::mqtt::ControlPacket | |
| uint8_t | flags = 0 |
Protected Attributes inherited from iot::mqtt::ControlPacketDeserializer | |
| bool | complete = false |
| bool | error = false |
| uint32_t | remainingLength = 0 |
| std::size_t | consumed = 0 |
| iot::mqtt::server::packets::Pubcomp::Pubcomp | ( | uint32_t | remainingLength, |
| uint8_t | flags | ||
| ) |
Definition at line 52 of file Pubcomp.cpp.
References iot::mqtt::ControlPacket::flags.
Referenced by iot::mqtt::server::Mqtt::createControlPacketDeserializer().
|
overrideprivatevirtual |
Implements iot::mqtt::server::ControlPacketDeserializer.
Definition at line 67 of file Pubcomp.cpp.
References iot::mqtt::Mqtt::_onPubcomp(), and iot::mqtt::Mqtt::printVP().
|
overrideprivatevirtual |
Implements iot::mqtt::ControlPacketDeserializer.
Definition at line 57 of file Pubcomp.cpp.
References iot::mqtt::ControlPacketDeserializer::complete, iot::mqtt::types::TypeBase< ValueTypeT >::deserialize(), iot::mqtt::types::TypeBase< ValueTypeT >::isComplete(), and iot::mqtt::packets::Pubcomp::packetIdentifier.