Public Attributes | List of all members
mqtt_client::MqttClient::ClientConfig Struct Reference

Struct containing client parameters. More...

#include <MqttClient.h>

Public Attributes

struct {
   std::filesystem::path   directory
 client buffer directory More...
 
   bool   enabled
 whether client buffer is enabled More...
 
   int   size
 client buffer size More...
 
buffer
 client buffer-related variables More...
 
struct {
   std::filesystem::path   directory
 client buffer directory More...
 
   bool   enabled
 whether client buffer is enabled More...
 
   int   size
 client buffer size More...
 
buffer
 client buffer-related variables More...
 
bool clean_session
 whether client requests clean session More...
 
std::string id
 client unique ID More...
 
double keep_alive_interval
 keep-alive interval More...
 
struct {
   std::string   message
 last-will message More...
 
   int   qos
 last-will QoS value More...
 
   bool   retained
 whether last-will is retained More...
 
   std::string   topic
 last-will topic More...
 
last_will
 last-will-related variables More...
 
struct {
   std::string   message
 last-will message More...
 
   int   qos
 last-will QoS value More...
 
   bool   retained
 whether last-will is retained More...
 
   std::string   topic
 last-will topic More...
 
last_will
 last-will-related variables More...
 
int max_inflight
 maximum number of inflight messages More...
 
struct {
   std::vector< std::string >   alpn_protos
 list of ALPN protocols More...
 
   std::filesystem::path   certificate
 client certificate More...
 
   std::filesystem::path   key
 client private keyfile More...
 
   std::string   password
 decryption password for private key More...
 
   bool   verify
 
   int   version
 TLS version (https://github.com/eclipse/paho.mqtt.cpp/blob/master/src/mqtt/ssl_options.h#L305) More...
 
tls
 SSL/TLS-related variables. More...
 
struct {
   std::vector< std::string >   alpn_protos
 list of ALPN protocols More...
 
   std::filesystem::path   certificate
 client certificate More...
 
   std::filesystem::path   key
 client private keyfile More...
 
   std::string   password
 decryption password for private key More...
 
   bool   verify
 
   int   version
 TLS version (https://github.com/eclipse/paho.mqtt.cpp/blob/master/src/mqtt/ssl_options.h#L305) More...
 
tls
 SSL/TLS-related variables. More...
 

Detailed Description

Struct containing client parameters.

Definition at line 347 of file MqttClient.h.

Member Data Documentation

◆ alpn_protos

std::vector<std::string> mqtt_client::MqttClient::ClientConfig::alpn_protos

list of ALPN protocols

Definition at line 370 of file MqttClient.h.

◆ buffer [1/2]

struct { ... } mqtt_client::MqttClient::ClientConfig::buffer

client buffer-related variables

◆ buffer [2/2]

struct { ... } mqtt_client::MqttClient::ClientConfig::buffer

client buffer-related variables

◆ certificate

std::filesystem::path mqtt_client::MqttClient::ClientConfig::certificate

client certificate

Definition at line 364 of file MqttClient.h.

◆ clean_session

bool mqtt_client::MqttClient::ClientConfig::clean_session

whether client requests clean session

Definition at line 360 of file MqttClient.h.

◆ directory

std::filesystem::path mqtt_client::MqttClient::ClientConfig::directory

client buffer directory

Definition at line 352 of file MqttClient.h.

◆ enabled

bool mqtt_client::MqttClient::ClientConfig::enabled

whether client buffer is enabled

Definition at line 350 of file MqttClient.h.

◆ id

std::string mqtt_client::MqttClient::ClientConfig::id

client unique ID

Definition at line 348 of file MqttClient.h.

◆ keep_alive_interval

double mqtt_client::MqttClient::ClientConfig::keep_alive_interval

keep-alive interval

Definition at line 361 of file MqttClient.h.

◆ key

std::filesystem::path mqtt_client::MqttClient::ClientConfig::key

client private keyfile

Definition at line 365 of file MqttClient.h.

◆ last_will [1/2]

struct { ... } mqtt_client::MqttClient::ClientConfig::last_will

last-will-related variables

◆ last_will [2/2]

struct { ... } mqtt_client::MqttClient::ClientConfig::last_will

last-will-related variables

◆ max_inflight

int mqtt_client::MqttClient::ClientConfig::max_inflight

maximum number of inflight messages

Definition at line 362 of file MqttClient.h.

◆ message

std::string mqtt_client::MqttClient::ClientConfig::message

last-will message

Definition at line 356 of file MqttClient.h.

◆ password

std::string mqtt_client::MqttClient::ClientConfig::password

decryption password for private key

Definition at line 366 of file MqttClient.h.

◆ qos

int mqtt_client::MqttClient::ClientConfig::qos

last-will QoS value

Definition at line 357 of file MqttClient.h.

◆ retained

bool mqtt_client::MqttClient::ClientConfig::retained

whether last-will is retained

Definition at line 358 of file MqttClient.h.

◆ size

int mqtt_client::MqttClient::ClientConfig::size

client buffer size

Definition at line 351 of file MqttClient.h.

◆ tls [1/2]

struct { ... } mqtt_client::MqttClient::ClientConfig::tls

SSL/TLS-related variables.

◆ tls [2/2]

struct { ... } mqtt_client::MqttClient::ClientConfig::tls

SSL/TLS-related variables.

◆ topic

std::string mqtt_client::MqttClient::ClientConfig::topic

last-will topic

Definition at line 355 of file MqttClient.h.

◆ verify

bool mqtt_client::MqttClient::ClientConfig::verify

Verify the client should conduct post-connect checks

Definition at line 368 of file MqttClient.h.

◆ version

int mqtt_client::MqttClient::ClientConfig::version

The documentation for this struct was generated from the following files:


mqtt_client
Author(s): Lennart Reiher , Bastian Lampe , Christian Wende
autogenerated on Thu Oct 5 2023 02:09:10