| SNode.C
    | 
#include <Subscribe.h>
| Public Member Functions | |
| Subscribe (uint16_t packetIdentifier, const std::list< iot::mqtt_fast::Topic > &topics) | |
| Subscribe (iot::mqtt_fast::ControlPacketFactory &controlPacketFactory) | |
| uint16_t | getPacketIdentifier () const | 
| const std::list< iot::mqtt_fast::Topic > & | getTopics () const | 
|  Public Member Functions inherited from iot::mqtt_fast::ControlPacket | |
| 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< iot::mqtt_fast::Topic > | topics | 
| Additional Inherited Members | |
|  Protected Member Functions inherited from iot::mqtt_fast::ControlPacket | |
| 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 () | 
|  Protected Attributes inherited from iot::mqtt_fast::ControlPacket | |
| bool | error = false | 
Definition at line 63 of file Subscribe.h.
| iot::mqtt_fast::packets::Subscribe::Subscribe | ( | uint16_t | packetIdentifier, | 
| const std::list< iot::mqtt_fast::Topic > & | topics | ||
| ) | 
Definition at line 52 of file Subscribe.cpp.
References iot::mqtt_fast::ControlPacket::ControlPacket(), iot::mqtt_fast::Topic::getName(), iot::mqtt_fast::Topic::getRequestedQoS(), packetIdentifier, iot::mqtt_fast::ControlPacket::putInt16(), iot::mqtt_fast::ControlPacket::putInt8(), iot::mqtt_fast::ControlPacket::putString(), and topics.
Referenced by iot::mqtt_fast::SocketContext::sendSubscribe().
| 
 | explicit | 
Definition at line 66 of file Subscribe.cpp.
References iot::mqtt_fast::ControlPacket::ControlPacket(), iot::mqtt_fast::ControlPacket::error, iot::mqtt_fast::ControlPacket::getInt16(), iot::mqtt_fast::ControlPacket::getInt8(), iot::mqtt_fast::ControlPacket::getString(), iot::mqtt_fast::ControlPacket::isError(), packetIdentifier, and topics.
Referenced by iot::mqtt_fast::SocketContext::onReceivedFromPeer().
| uint16_t iot::mqtt_fast::packets::Subscribe::getPacketIdentifier | ( | ) | const | 
Definition at line 82 of file Subscribe.cpp.
References packetIdentifier.
| const std::list< iot::mqtt_fast::Topic > & iot::mqtt_fast::packets::Subscribe::getTopics | ( | ) | const | 
| 
 | private | 
Definition at line 72 of file Subscribe.h.
Referenced by getPacketIdentifier(), Subscribe(), and Subscribe().
| 
 | private | 
Definition at line 74 of file Subscribe.h.
Referenced by getTopics(), Subscribe(), and Subscribe().