|
SNode.C
|
#include <Connack.h>
Public Member Functions | |
| Connack (uint32_t remainingLength, uint8_t flags) | |
Public Member Functions inherited from iot::mqtt::packets::Connack | |
| Connack () | |
| Connack (uint8_t returncode, uint8_t acknowledgeFlags) | |
| uint8_t | getAcknowledgeFlags () const |
| uint8_t | getReturnCode () const |
| bool | getSessionPresent () 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::client::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::client::Mqtt *mqtt) override |
Private Attributes | |
| int | state = 0 |
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::Connack | |
| iot::mqtt::types::UInt8 | acknowledgeFlags |
| iot::mqtt::types::UInt8 | returnCode |
| bool | sessionPresent = false |
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::client::packets::Connack::Connack | ( | uint32_t | remainingLength, |
| uint8_t | flags | ||
| ) |
Definition at line 52 of file Connack.cpp.
References iot::mqtt::ControlPacket::flags.
Referenced by iot::mqtt::client::Mqtt::createControlPacketDeserializer().
|
overrideprivatevirtual |
Implements iot::mqtt::client::ControlPacketDeserializer.
Definition at line 87 of file Connack.cpp.
References iot::mqtt::client::Mqtt::_onConnack(), and iot::mqtt::Mqtt::printVP().
|
overrideprivatevirtual |
Implements iot::mqtt::ControlPacketDeserializer.
Definition at line 57 of file Connack.cpp.
References iot::mqtt::packets::Connack::acknowledgeFlags, iot::mqtt::ControlPacketDeserializer::complete, iot::mqtt::types::TypeBase< ValueTypeT >::deserialize(), iot::mqtt::types::TypeBase< ValueTypeT >::isComplete(), iot::mqtt::packets::Connack::returnCode, iot::mqtt::packets::Connack::sessionPresent, and state.
|
private |
Definition at line 67 of file Connack.h.
Referenced by deserializeVP().