#include <Mqtt.h>
Public Member Functions | |
| Mqtt (const std::string &connectionName, const std::string &clientId, std::uint8_t qoSDefault, std::uint16_t keepAlive, bool cleanSession, const std::string &willTopic, const std::string &willMessage, std::uint8_t willQoS, bool willRetain, const std::string &username, const std::string &password, const std::list< std::string > &subTopics, MariaDbStorage::ConnectionConfig connectionConfig, const std::string &rawTable, bool autoCreateRawTable, StoragePlan storagePlan, const std::string &sessionStoreFileName="") | |
Private Types | |
| using | Super = iot::mqtt::client::Mqtt |
Private Member Functions | |
| void | onConnected () final |
| bool | onSignal (int signum) final |
| void | onConnack (const iot::mqtt::packets::Connack &connack) final |
| void | onPublish (const iot::mqtt::packets::Publish &publish) final |
| void | onSuback (const iot::mqtt::packets::Suback &suback) final |
Static Private Member Functions | |
| static std::uint8_t | getQos (const std::string &qoSString) |
Private Attributes | |
| MariaDbStorage | storage |
| const std::uint8_t | qoSDefault |
| const bool | cleanSession |
| const std::string | willTopic |
| const std::string | willMessage |
| const std::uint8_t | willQoS |
| const bool | willRetain |
| const std::string | username |
| const std::string | password |
| const std::list< std::string > | subTopics |
|
private |
|
explicit |
Definition at line 37 of file Mqtt.cpp.
References cleanSession, Mqtt(), password, qoSDefault, username, willMessage, willQoS, willRetain, and willTopic.
Referenced by Mqtt().
|
staticnodiscardprivate |
Definition at line 87 of file Mqtt.cpp.
Referenced by onConnack().
|
finalprivate |
Definition at line 97 of file Mqtt.cpp.
References getQos(), and qoSDefault.
|
finalprivate |
Definition at line 74 of file Mqtt.cpp.
References cleanSession, password, username, willMessage, willQoS, willRetain, and willTopic.
|
finalprivate |
Definition at line 136 of file Mqtt.cpp.
|
nodiscardfinalprivate |
|
finalprivate |
|
private |
Definition at line 67 of file Mqtt.h.
Referenced by Mqtt(), and onConnected().
|
private |
Definition at line 73 of file Mqtt.h.
Referenced by Mqtt(), and onConnected().
|
private |
Definition at line 66 of file Mqtt.h.
Referenced by Mqtt(), and onConnack().
|
private |
|
private |
|
private |
Definition at line 72 of file Mqtt.h.
Referenced by Mqtt(), and onConnected().
|
private |
Definition at line 69 of file Mqtt.h.
Referenced by Mqtt(), and onConnected().
|
private |
Definition at line 70 of file Mqtt.h.
Referenced by Mqtt(), and onConnected().
|
private |
Definition at line 71 of file Mqtt.h.
Referenced by Mqtt(), and onConnected().
|
private |
Definition at line 68 of file Mqtt.h.
Referenced by Mqtt(), and onConnected().