2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
20#include "iot/mqtt-fast/packets/Unsubscribe.h"
22#ifndef DOXYGEN_SHOULD_SKIP_THIS
36 for (
const std::string& topic :
this->topics) {
48 topics.push_back(name);
52 error = topics.empty();
ControlPacket(iot::mqtt_fast::ControlPacketFactory &controlPacketFactory)
void putInt16(uint16_t value)
ControlPacket(uint8_t type, uint8_t reserved=0)
const std::list< std::string > & getTopics() const
Unsubscribe(iot::mqtt_fast::ControlPacketFactory &controlPacketFactory)
Unsubscribe(uint16_t packetIdentifier, const std::list< std::string > &topics)
uint16_t packetIdentifier
uint16_t getPacketIdentifier() const