Minor typo changes and add comments
This commit is contained in:
@@ -331,7 +331,9 @@ class MqttBroker
|
||||
void begin() { server->begin(); }
|
||||
void loop();
|
||||
|
||||
/** Connect the broker to a parent broker */
|
||||
void connect(const string& host, uint16_t port=1883);
|
||||
/** returns true if connected to another broker */
|
||||
bool connected() const { return state == Connected; }
|
||||
|
||||
size_t clientsCount() const { return clients.size(); }
|
||||
|
||||
Reference in New Issue
Block a user