#include <mqtt_connect.hpp>
|
| mqtt_connect (void) |
|
| mqtt_connect (const mqtt_header &header) |
|
| ~mqtt_connect (void) |
|
void | set_keep_alive (unsigned short keep_alive) |
|
void | set_cid (const char *cid) |
|
void | set_username (const char *name) |
|
void | set_passwd (const char *passwd) |
|
void | set_will_qos (mqtt_qos_t qos) |
|
void | set_will_topic (const char *topic) |
|
void | set_will_msg (const char *msg) |
|
void | clean_session (void) |
|
unsigned short | get_keep_alive (void) const |
|
const char * | get_cid (void) const |
|
const char * | get_username (void) const |
|
const char * | get_passwd (void) const |
|
mqtt_qos_t | get_will_qos (void) const |
|
const char * | get_will_topic (void) const |
|
const char * | get_will_msg (void) const |
|
bool | has_session (void) const |
|
int | update_header_var (const char *data, int dlen) |
|
int | update_cid_len (const char *data, int dlen) |
|
int | update_cid_val (const char *data, int dlen) |
|
int | update_username_len (const char *data, int dlen) |
|
int | update_username_val (const char *data, int dlen) |
|
int | update_passwd_len (const char *data, int dlen) |
|
int | update_passwd_val (const char *data, int dlen) |
|
int | update_will_topic_len (const char *data, int dlen) |
|
int | update_will_topic_val (const char *data, int dlen) |
|
int | update_will_msg_len (const char *data, int dlen) |
|
int | update_will_msg_val (const char *data, int dlen) |
|
| 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 |
|
mqtt message object for the MQTT_CONNECT type.
在文件 mqtt_connect.hpp 第 19 行定义.
◆ mqtt_connect() [1/2]
acl::mqtt_connect::mqtt_connect |
( |
void |
| ) |
|
constructor for creating MQTT_CONNECT mqtt message object.
- 参见
- mqtt_message
◆ mqtt_connect() [2/2]
acl::mqtt_connect::mqtt_connect |
( |
const mqtt_header & |
header | ) |
|
constructor for creating MQTT_CONNECT mqtt message object.
- 参见
- mqtt_message
◆ ~mqtt_connect()
acl::mqtt_connect::~mqtt_connect |
( |
void |
| ) |
|
◆ clean_session()
void acl::mqtt_connect::clean_session |
( |
void |
| ) |
|
◆ finished()
bool acl::mqtt_connect::finished |
( |
void |
| ) |
const |
|
inlineprotectedvirtual |
◆ get_cid()
const char* acl::mqtt_connect::get_cid |
( |
void |
| ) |
const |
|
inline |
◆ get_keep_alive()
unsigned short acl::mqtt_connect::get_keep_alive |
( |
void |
| ) |
const |
|
inline |
◆ get_passwd()
const char* acl::mqtt_connect::get_passwd |
( |
void |
| ) |
const |
|
inline |
◆ get_username()
const char* acl::mqtt_connect::get_username |
( |
void |
| ) |
const |
|
inline |
◆ get_will_msg()
const char* acl::mqtt_connect::get_will_msg |
( |
void |
| ) |
const |
|
inline |
◆ get_will_qos()
mqtt_qos_t acl::mqtt_connect::get_will_qos |
( |
void |
| ) |
const |
|
inline |
◆ get_will_topic()
const char* acl::mqtt_connect::get_will_topic |
( |
void |
| ) |
const |
|
inline |
◆ has_session()
bool acl::mqtt_connect::has_session |
( |
void |
| ) |
const |
◆ set_cid()
void acl::mqtt_connect::set_cid |
( |
const char * |
cid | ) |
|
◆ set_keep_alive()
void acl::mqtt_connect::set_keep_alive |
( |
unsigned short |
keep_alive | ) |
|
◆ set_passwd()
void acl::mqtt_connect::set_passwd |
( |
const char * |
passwd | ) |
|
◆ set_username()
void acl::mqtt_connect::set_username |
( |
const char * |
name | ) |
|
◆ set_will_msg()
void acl::mqtt_connect::set_will_msg |
( |
const char * |
msg | ) |
|
◆ set_will_qos()
void acl::mqtt_connect::set_will_qos |
( |
mqtt_qos_t |
qos | ) |
|
◆ set_will_topic()
void acl::mqtt_connect::set_will_topic |
( |
const char * |
topic | ) |
|
◆ to_string()
bool acl::mqtt_connect::to_string |
( |
string & |
out | ) |
|
|
protectedvirtual |
◆ update()
int acl::mqtt_connect::update |
( |
const char * |
data, |
|
|
int |
dlen |
|
) |
| |
|
protectedvirtual |
◆ update_cid_len()
int acl::mqtt_connect::update_cid_len |
( |
const char * |
data, |
|
|
int |
dlen |
|
) |
| |
◆ update_cid_val()
int acl::mqtt_connect::update_cid_val |
( |
const char * |
data, |
|
|
int |
dlen |
|
) |
| |
◆ update_header_var()
int acl::mqtt_connect::update_header_var |
( |
const char * |
data, |
|
|
int |
dlen |
|
) |
| |
◆ update_passwd_len()
int acl::mqtt_connect::update_passwd_len |
( |
const char * |
data, |
|
|
int |
dlen |
|
) |
| |
◆ update_passwd_val()
int acl::mqtt_connect::update_passwd_val |
( |
const char * |
data, |
|
|
int |
dlen |
|
) |
| |
◆ update_username_len()
int acl::mqtt_connect::update_username_len |
( |
const char * |
data, |
|
|
int |
dlen |
|
) |
| |
◆ update_username_val()
int acl::mqtt_connect::update_username_val |
( |
const char * |
data, |
|
|
int |
dlen |
|
) |
| |
◆ update_will_msg_len()
int acl::mqtt_connect::update_will_msg_len |
( |
const char * |
data, |
|
|
int |
dlen |
|
) |
| |
◆ update_will_msg_val()
int acl::mqtt_connect::update_will_msg_val |
( |
const char * |
data, |
|
|
int |
dlen |
|
) |
| |
◆ update_will_topic_len()
int acl::mqtt_connect::update_will_topic_len |
( |
const char * |
data, |
|
|
int |
dlen |
|
) |
| |
◆ update_will_topic_val()
int acl::mqtt_connect::update_will_topic_val |
( |
const char * |
data, |
|
|
int |
dlen |
|
) |
| |
该类的文档由以下文件生成: