Resubscribe upon reconnect

This commit is contained in:
2020-12-08 09:59:24 +01:00
parent ed953bea88
commit 3598353bc0
3 changed files with 28 additions and 7 deletions
+2
View File
@@ -17,6 +17,8 @@ public:
MQTT(const std::string& hostname, int port);
~MQTT();
MQTT(const MQTT&) = delete;
public:
typedef std::function<void(const MQTTMessage&)> CallbackMethod;