MqttClient: fixed some code style issues.

Sat, 15 Sep 2018 12:15:25 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 15 Sep 2018 12:15:25 +0200
changeset 51
b865211461c7
parent 50
8e9e83221c15
child 52
cc8734657162

MqttClient: fixed some code style issues.

MqttMonitor/MqttClient.py file | annotate | diff | comparison | revisions
--- a/MqttMonitor/MqttClient.py	Sat Sep 15 12:12:01 2018 +0200
+++ b/MqttMonitor/MqttClient.py	Sat Sep 15 12:15:25 2018 +0200
@@ -33,6 +33,8 @@
         subscribed to some topics
     @signal onUnsubscribe(mid) emitted after the client has unsubscribed from
         some topics
+    @signal connectTimeout() emitted to indicate, that a connection attempt
+        timed out
     """
     onConnect = pyqtSignal(dict, int)
     onDisconnected = pyqtSignal(int)
@@ -121,7 +123,7 @@
     @pyqtSlot()
     def __connectTimeout(self):
         """
-        Privat slot handling a failed connection attempt.
+        Private slot handling a failed connection attempt.
         """
         self.stopLoop()
         self.connectTimeout.emit()
@@ -266,6 +268,9 @@
         @param bindAddress IP address of a local network interface to bind
             this client to
         @type str
+        @param reinit flag indicating to reinitialize the MQTT client before
+            trying to connect with the given parameters
+        @type bool
         """
         if reinit:
             self.reinitialise()

eric ide

mercurial