Documentation/Source/eric5.Utilities.BackgroundService.html

changeset 3579
eccd12461319
parent 3515
1b8381afe38f
child 3591
2f2a4a76dd22
--- a/Documentation/Source/eric5.Utilities.BackgroundService.html	Thu May 15 18:45:07 2014 +0200
+++ b/Documentation/Source/eric5.Utilities.BackgroundService.html	Fri May 16 23:36:27 2014 +0200
@@ -77,11 +77,17 @@
 <td>Implement a queued processing of incomming events.</td>
 </tr><tr>
 <td><a href="#BackgroundService.on_disconnectSocket">on_disconnectSocket</a></td>
-<td>Slot when connection to a client is lost.</td>
+<td>Slot is called when connection to a client is lost.</td>
 </tr><tr>
 <td><a href="#BackgroundService.on_newConnection">on_newConnection</a></td>
 <td>Slot for new incomming connections from the clients.</td>
 </tr><tr>
+<td><a href="#BackgroundService.preferencesOrProjectChanged">preferencesOrProjectChanged</a></td>
+<td>Public slot to restart the built in languages.</td>
+</tr><tr>
+<td><a href="#BackgroundService.restartService">restartService</a></td>
+<td>Public method to restart a given lanuage.</td>
+</tr><tr>
 <td><a href="#BackgroundService.serviceConnect">serviceConnect</a></td>
 <td>Announce a new service to the background service/ client.</td>
 </tr><tr>
@@ -89,7 +95,7 @@
 <td>Remove the service from the service list.</td>
 </tr><tr>
 <td><a href="#BackgroundService.shutdown">shutdown</a></td>
-<td>Cleanup the connections and processes when Eric is shuting down.</td>
+<td>Cleanup the connections and processes when eric is shuting down.</td>
 </tr>
 </table>
 <h3>Static Methods</h3>
@@ -180,7 +186,7 @@
 <h4>BackgroundService.on_disconnectSocket</h4>
 <b>on_disconnectSocket</b>(<i>lang</i>)
 <p>
-        Slot when connection to a client is lost.
+        Slot is called when connection to a client is lost.
 </p><dl>
 <dt><i>lang</i></dt>
 <dd>
@@ -191,7 +197,25 @@
 <b>on_newConnection</b>(<i></i>)
 <p>
         Slot for new incomming connections from the clients.
-</p><a NAME="BackgroundService.serviceConnect" ID="BackgroundService.serviceConnect"></a>
+</p><a NAME="BackgroundService.preferencesOrProjectChanged" ID="BackgroundService.preferencesOrProjectChanged"></a>
+<h4>BackgroundService.preferencesOrProjectChanged</h4>
+<b>preferencesOrProjectChanged</b>(<i></i>)
+<p>
+        Public slot to restart the built in languages.
+</p><a NAME="BackgroundService.restartService" ID="BackgroundService.restartService"></a>
+<h4>BackgroundService.restartService</h4>
+<b>restartService</b>(<i>language, forceKill=False</i>)
+<p>
+        Public method to restart a given lanuage.
+</p><dl>
+<dt><i>language</i></dt>
+<dd>
+to restart (str)
+</dd><dt><i>forceKill=</i></dt>
+<dd>
+flag to kill a running task (bool)
+</dd>
+</dl><a NAME="BackgroundService.serviceConnect" ID="BackgroundService.serviceConnect"></a>
 <h4>BackgroundService.serviceConnect</h4>
 <b>serviceConnect</b>(<i>fx, lang, modulepath, module, callback, onErrorCallback=None</i>)
 <p>
@@ -233,7 +257,7 @@
 <h4>BackgroundService.shutdown</h4>
 <b>shutdown</b>(<i></i>)
 <p>
-        Cleanup the connections and processes when Eric is shuting down.
+        Cleanup the connections and processes when eric is shuting down.
 </p>
 <div align="right"><a href="#top">Up</a></div>
 <hr />

eric ide

mercurial