eric6/Documentation/Source/eric6.E5Network.E5JsonClient.html

changeset 8429
ab23dbabd491
parent 8300
72ba9635ec5c
--- a/eric6/Documentation/Source/eric6.E5Network.E5JsonClient.html	Mon Jun 14 18:25:00 2021 +0200
+++ b/eric6/Documentation/Source/eric6.E5Network.E5JsonClient.html	Wed Jun 16 19:06:47 2021 +0200
@@ -81,6 +81,10 @@
 <td>Public method to handle a method call from the server.</td>
 </tr>
 <tr>
+<td><a href="#E5JsonClient.poll">poll</a></td>
+<td>Public method to check and receive one message (if available).</td>
+</tr>
+<tr>
 <td><a href="#E5JsonClient.run">run</a></td>
 <td>Public method implementing the main loop of the client.</td>
 </tr>
@@ -161,6 +165,32 @@
 dictionary with method specific parameters
 </dd>
 </dl>
+<a NAME="E5JsonClient.poll" ID="E5JsonClient.poll"></a>
+<h4>E5JsonClient.poll</h4>
+<b>poll</b>(<i>waitMethod=""</i>)
+
+<p>
+        Public method to check and receive one message (if available).
+</p>
+<dl>
+
+<dt><i>waitMethod</i> (str)</dt>
+<dd>
+name of a method to wait for
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+dictionary containing the data of the waited for method
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+dict
+</dd>
+</dl>
 <a NAME="E5JsonClient.run" ID="E5JsonClient.run"></a>
 <h4>E5JsonClient.run</h4>
 <b>run</b>(<i></i>)

eric ide

mercurial