2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
20#include "iot/mqtt-fast/packets/Connect.h"
22#ifndef DOXYGEN_SHOULD_SKIP_THIS
28 Connect::
Connect(
const std::string& clientId,
const std::string& protocol, uint8_t version, uint8_t flags, uint16_t keepAlive)
void putInt8(uint8_t value)
ControlPacket(iot::mqtt_fast::ControlPacketFactory &controlPacketFactory)
void putInt16(uint16_t value)
void putString(const std::string &value)
ControlPacket(uint8_t type, uint8_t reserved=0)
const std::string & getWillTopic() const
Connect(const std::string &clientId, const std::string &protocol="MQTT", uint8_t version=4, uint8_t flags=0, uint16_t keepAlive=0x003C)
uint16_t getKeepAlive() const
std::string getProtocol() const
const std::string & getUsername() const
uint8_t getWillQoS() const
bool getPasswordFlag() const
const std::string & getWillMessage() const
const std::string & getClientId() const
bool getCleanSession() const
bool getWillRetain() const
const std::string & getPassword() const
Connect(iot::mqtt_fast::ControlPacketFactory &controlPacketFactory)
bool getUsernameFlag() const