2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
42#include "iot/mqtt/packets/Unsubscribe.h"
44#ifndef DOXYGEN_SHOULD_SKIP_THIS
65 for (
const std::string& topic :
topics) {
70 packet.insert(packet.end(), tmpPacket.begin(), tmpPacket.end());
ControlPacket(uint8_t type, const std::string &name)
std::list< std::string > topics
std::vector< char > serializeVP() const override
Unsubscribe(uint16_t packetIdentifier, const std::list< std::string > &topics)
uint16_t getPacketIdentifier() const
iot::mqtt::types::UInt16 packetIdentifier
const std::list< std::string > & getTopics() const
std::vector< char > serialize() const override
String & operator=(const std::string &newValue)
virtual std::vector< char > serialize() const
UInt16 & operator=(const uint16_t &newValue)