#include <Unsubscribe.h>
Public Member Functions | |
| Unsubscribe () | |
| Unsubscribe (uint16_t packetIdentifier, const std::list< std::string > &topics) | |
| uint16_t | getPacketIdentifier () const |
| const std::list< std::string > & | getTopics () 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 |
Protected Attributes | |
| iot::mqtt::types::UInt16 | packetIdentifier |
| std::list< std::string > | topics |
| Protected Attributes inherited from iot::mqtt::ControlPacket | |
| uint8_t | flags = 0 |
Private Member Functions | |
| std::vector< char > | serializeVP () const override |
Additional Inherited Members | |
| Protected Member Functions inherited from iot::mqtt::ControlPacket | |
| uint8_t | getType () const |
| uint8_t | getFlags () const |
Definition at line 59 of file Unsubscribe.h.
| iot::mqtt::packets::Unsubscribe::Unsubscribe | ( | ) |
Definition at line 52 of file Unsubscribe.cpp.
References iot::mqtt::ControlPacket::ControlPacket().
Referenced by Unsubscribe().
| iot::mqtt::packets::Unsubscribe::Unsubscribe | ( | uint16_t | packetIdentifier, |
| const std::list< std::string > & | topics ) |
Definition at line 56 of file Unsubscribe.cpp.
References iot::mqtt::types::UInt16::operator=(), packetIdentifier, topics, and Unsubscribe().
Referenced by iot::mqtt::client::Mqtt::sendUnsubscribe().
| uint16_t iot::mqtt::packets::Unsubscribe::getPacketIdentifier | ( | ) | const |
Definition at line 76 of file Unsubscribe.cpp.
References packetIdentifier.
Referenced by iot::mqtt::server::Mqtt::_onUnsubscribe().
| const std::list< std::string > & iot::mqtt::packets::Unsubscribe::getTopics | ( | ) | const |
Definition at line 80 of file Unsubscribe.cpp.
References topics.
Referenced by iot::mqtt::server::Mqtt::_onUnsubscribe().
|
overrideprivatevirtual |
Implements iot::mqtt::ControlPacket.
Definition at line 62 of file Unsubscribe.cpp.
References iot::mqtt::types::String::operator=(), packetIdentifier, iot::mqtt::types::String::serialize(), iot::mqtt::types::TypeBase< ValueTypeT >::serialize(), and topics.
|
protected |
Definition at line 72 of file Unsubscribe.h.
Referenced by iot::mqtt::server::packets::Unsubscribe::deserializeVP(), getPacketIdentifier(), serializeVP(), and Unsubscribe().
|
protected |
Definition at line 74 of file Unsubscribe.h.
Referenced by iot::mqtt::server::packets::Unsubscribe::deserializeVP(), getTopics(), serializeVP(), and Unsubscribe().