2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
20#ifndef IOT_MQTTFAST_PACKETS_UNSUBSCRIBE_H
21#define IOT_MQTTFAST_PACKETS_UNSUBSCRIBE_H
23#include "iot/mqtt-fast/ControlPacket.h"
29#ifndef DOXYGEN_SHOULD_SKIP_THIS
37#define MQTT_UNSUBSCRIBE 0x0A
43 Unsubscribe(uint16_t packetIdentifier,
const std::list<std::string>& topics);
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
std::list< std::string > topics