#include <mqtt_unsubscribe.hpp>
mqtt message object for MQTT_UNSUBSCRIBE type.
在文件 mqtt_unsubscribe.hpp 第 10 行定义.
◆ mqtt_unsubscribe() [1/2]
acl::mqtt_unsubscribe::mqtt_unsubscribe |
( |
void |
| ) |
|
constructor for creating MQTT_PUBACK mqtt message object.
- 参见
- mqtt_message
◆ mqtt_unsubscribe() [2/2]
acl::mqtt_unsubscribe::mqtt_unsubscribe |
( |
const mqtt_header & |
header | ) |
|
constructor for creating MQTT_PUBACK mqtt message object.
- 参见
- mqtt_message
◆ ~mqtt_unsubscribe()
acl::mqtt_unsubscribe::~mqtt_unsubscribe |
( |
void |
| ) |
|
◆ add_topic()
◆ finished()
bool acl::mqtt_unsubscribe::finished |
( |
void |
| ) |
const |
|
inlineprotectedvirtual |
◆ set_pkt_id()
set the message id.
- 参数
-
id | {unsigned short} should > 0 && <= 65535. |
- 返回
- {mqtt_unsubscribe&}
◆ to_string()
bool acl::mqtt_unsubscribe::to_string |
( |
string & |
out | ) |
|
|
protectedvirtual |
◆ update()
int acl::mqtt_unsubscribe::update |
( |
const char * |
data, |
|
|
int |
dlen |
|
) |
| |
|
protectedvirtual |
◆ update_header_var()
int acl::mqtt_unsubscribe::update_header_var |
( |
const char * |
data, |
|
|
int |
dlen |
|
) |
| |
◆ update_topic_len()
int acl::mqtt_unsubscribe::update_topic_len |
( |
const char * |
data, |
|
|
int |
dlen |
|
) |
| |
◆ update_topic_val()
int acl::mqtt_unsubscribe::update_topic_val |
( |
const char * |
data, |
|
|
int |
dlen |
|
) |
| |
该类的文档由以下文件生成: