SNode.C
|
#include <Unsubscribe.h>
Public Member Functions | |
Unsubscribe (uint16_t packetIdentifier, const std::list< std::string > &topics) | |
Unsubscribe (iot::mqtt_fast::ControlPacketFactory &controlPacketFactory) | |
uint16_t | getPacketIdentifier () const |
const std::list< std::string > & | getTopics () const |
![]() | |
ControlPacket (uint8_t type, uint8_t reserved=0) | |
ControlPacket (iot::mqtt_fast::ControlPacketFactory &controlPacketFactory) | |
ControlPacket (const ControlPacket &)=delete | |
ControlPacket (ControlPacket &&)=delete | |
ControlPacket & | operator= (const ControlPacket &)=delete |
ControlPacket & | operator= (ControlPacket &&)=delete |
uint8_t | getType () const |
uint8_t | getReserved () const |
uint64_t | getRemainingLength () const |
std::vector< char > | getPacket () |
bool | isError () const |
Private Attributes | |
uint16_t | packetIdentifier |
std::list< std::string > | topics |
Additional Inherited Members | |
![]() | |
std::vector< char > & | getValue () |
uint8_t | getInt8 () |
uint16_t | getInt16 () |
uint32_t | getInt32 () |
uint64_t | getInt64 () |
uint32_t | getIntV () |
std::string | getString () |
std::string | getStringRaw () |
std::list< uint8_t > | getUint8ListRaw () |
void | putInt8 (uint8_t value) |
void | putInt16 (uint16_t value) |
void | putInt32 (uint32_t value) |
void | putInt64 (uint64_t value) |
void | putIntV (uint32_t value) |
void | putString (const std::string &value) |
void | putStringRaw (const std::string &value) |
void | putUint8ListRaw (const std::list< uint8_t > &value) |
bool | isError () |
![]() | |
bool | error = false |
Definition at line 41 of file Unsubscribe.h.
iot::mqtt_fast::packets::Unsubscribe::Unsubscribe | ( | uint16_t | packetIdentifier, |
const std::list< std::string > & | topics ) |
Definition at line 28 of file Unsubscribe.cpp.
References iot::mqtt_fast::ControlPacket::ControlPacket(), packetIdentifier, iot::mqtt_fast::ControlPacket::putInt16(), and Unsubscribe().
Referenced by Unsubscribe().
|
explicit |
Definition at line 41 of file Unsubscribe.cpp.
References iot::mqtt_fast::ControlPacket::ControlPacket(), iot::mqtt_fast::ControlPacket::getInt16(), iot::mqtt_fast::ControlPacket::getString(), and packetIdentifier.
uint16_t iot::mqtt_fast::packets::Unsubscribe::getPacketIdentifier | ( | ) | const |
Definition at line 56 of file Unsubscribe.cpp.
References packetIdentifier.
const std::list< std::string > & iot::mqtt_fast::packets::Unsubscribe::getTopics | ( | ) | const |
Definition at line 60 of file Unsubscribe.cpp.
|
private |
Definition at line 51 of file Unsubscribe.h.
Referenced by getPacketIdentifier(), Unsubscribe(), and Unsubscribe().
|
private |
Definition at line 52 of file Unsubscribe.h.