acl
3.5.3.0
|
#include <mqtt_suback.hpp>
Public 成员函数 | |
mqtt_suback (void) | |
mqtt_suback (const mqtt_header &header) | |
~mqtt_suback (void) | |
mqtt_suback & | set_pkt_id (unsigned short id) |
mqtt_suback & | add_topic_qos (mqtt_qos_t qos) |
mqtt_suback & | add_topic_qos (const std::vector< mqtt_qos_t > &qoses) |
unsigned short | get_pkt_id (void) const |
const std::vector< mqtt_qos_t > & | get_qoses (void) const |
int | update_header_var (const char *data, int dlen) |
int | update_topic_qos (const char *data, int dlen) |
Public 成员函数 继承自 acl::mqtt_message | |
mqtt_message (mqtt_type_t type) | |
mqtt_message (const mqtt_header &header) | |
virtual | ~mqtt_message (void) |
mqtt_header & | get_header (void) |
const mqtt_header & | get_header (void) const |
Protected 成员函数 | |
bool | to_string (string &out) |
int | update (const char *data, int dlen) |
bool | finished (void) const |
Protected 成员函数 继承自 acl::mqtt_message | |
void | pack_add (unsigned char ch, string &out) |
void | pack_add (unsigned short n, string &out) |
void | pack_add (const string &s, string &out) |
bool | unpack_short (const char *data, size_t len, unsigned short &out) |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 acl::mqtt_message | |
static mqtt_message * | create_message (const mqtt_header &header) |
Protected 属性 继承自 acl::mqtt_message | |
mqtt_header | header_ |
mqtt message object for MQTT_SUBACK type.
在文件 mqtt_suback.hpp 第 11 行定义.
acl::mqtt_suback::mqtt_suback | ( | void | ) |
constructor for creating MQTT_SUBACK mqtt message object.
acl::mqtt_suback::mqtt_suback | ( | const mqtt_header & | header | ) |
constructor for creating MQTT_SUBACK mqtt message object.
acl::mqtt_suback::~mqtt_suback | ( | void | ) |
mqtt_suback& acl::mqtt_suback::add_topic_qos | ( | mqtt_qos_t | qos | ) |
mqtt_suback& acl::mqtt_suback::add_topic_qos | ( | const std::vector< mqtt_qos_t > & | qoses | ) |
|
inlineprotectedvirtual |
|
inline |
get the messsage's id.
在文件 mqtt_suback.hpp 第 52 行定义.
|
inline |
mqtt_suback& acl::mqtt_suback::set_pkt_id | ( | unsigned short | id | ) |
|
protectedvirtual |
实现了 acl::mqtt_message.
|
protectedvirtual |
实现了 acl::mqtt_message.
int acl::mqtt_suback::update_header_var | ( | const char * | data, |
int | dlen | ||
) |
int acl::mqtt_suback::update_topic_qos | ( | const char * | data, |
int | dlen | ||
) |