Add multi-threaded behavior

This commit is contained in:
2025-01-16 14:57:27 +01:00
parent a5a3f5579a
commit e3873bf6ec
6 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ class MQTTImpl;
class MQTT
{
public:
MQTT(const std::string& hostname, int port);
MQTT(const std::string& hostname, int port, int threads = 3);
~MQTT();
MQTT(const MQTT&) = delete;