|
Leosac
0.8.0
Open Source Access Control
|
Go to the documentation of this file.
22 #define ODB_NO_BASE_VERSION
30 #pragma db model version(1, 1, open)
43 #pragma db object callback(validation_callback) table("HARDWARE_ExternalServer_Mqtt")
124 #pragma db object callback(validation_callback) table("HARDWARE_ExternalMessage_Mqtt")
146 void add_server(std::shared_ptr<const MqttServerConfig>);
147 void add_topic(std::shared_ptr<const MqttExternalMessage>);
148 const std::vector<std::shared_ptr<const MqttServerConfig>> &
servers()
const;
149 const std::vector<std::shared_ptr<const MqttExternalMessage>> &
topics()
const;
152 std::vector<std::shared_ptr<const MqttServerConfig>>
servers_;
153 std::vector<std::shared_ptr<const MqttExternalMessage>>
topics_;
std::string client_id() const
An instance of this class represents the configuration of one Mqtt server.
std::string ssl_client_keyfile_
std::string password() const
void add_server(std::shared_ptr< const MqttServerConfig >)
std::string subscribe_prefix() const
bool ssl_insecure() const
Transient configuration object that stores the list of mqtt servers use/configure.
void add_topic(std::shared_ptr< const MqttExternalMessage >)
const std::vector< std::shared_ptr< const MqttServerConfig > > & servers() const
This is the header file for a generated source file, GitSHA1.cpp.
std::string ssl_client_certfile() const
std::string subscribe_prefix_
std::string username() const
std::vector< std::shared_ptr< const MqttExternalMessage > > topics_
std::string publish_prefix() const
const std::vector< std::shared_ptr< const MqttExternalMessage > > & topics() const
std::string ssl_client_certfile_
Abstraction of an External Messaging device.
std::vector< std::shared_ptr< const MqttServerConfig > > servers_
Abstraction of an External Server device.
std::string ssl_client_keyfile() const
void validation_callback(odb::callback_event, odb::database &) const
ODB callback wrt database operation.
std::string ssl_ca_certs() const
std::string publish_prefix_
std::string ssl_ca_certs_