BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
#include <GatewayMosquittoClient.h>
Public Member Functions | |
void | setGatewayInfo (Poco::SharedPtr< GatewayInfo > info) |
std::string | buildClientID () const override |
Public Member Functions inherited from BeeeOn::MosquittoClient | |
void | run () override |
void | stop () override |
void | setHost (const std::string &host) |
void | setPort (int port) |
void | setSubTopics (const std::list< std::string > &subTopics) |
void | setReconnectTimeout (const Poco::Timespan &timeout) |
void | setClientID (const std::string &id) |
std::string | clientID () const |
void | publish (const MqttMessage &msq) override |
MqttMessage | receive (const Poco::Timespan &timeout) override |
Additional Inherited Members | |
Public Types inherited from BeeeOn::MosquittoClient | |
typedef Poco::SharedPtr < MosquittoClient > | Ptr |
Public Types inherited from BeeeOn::StoppableRunnable | |
typedef Poco::SharedPtr < StoppableRunnable > | Ptr |
Public Types inherited from BeeeOn::MqttClient | |
typedef Poco::SharedPtr < MqttClient > | Ptr |
Protected Types inherited from BeeeOn::StoppableRunnable | |
typedef Poco::SharedPtr < StoppableRunnable > | Ptr |
Protected Types inherited from BeeeOn::MqttClient | |
typedef Poco::SharedPtr < MqttClient > | Ptr |
Protected Member Functions inherited from BeeeOn::MosquittoClient | |
void | connect () |
GatewayMosquittoClient generates client identification on the basis of the client identification or gateway identification. If both parameters are entered, these parameters are joined, for example: gatewayID_clientID.