71 <td>Private method to send a job request to one of the clients.</td> |
71 <td>Private method to send a job request to one of the clients.</td> |
72 </tr><tr> |
72 </tr><tr> |
73 <td><a href="#BackgroundService.__startExternalClient">__startExternalClient</a></td> |
73 <td><a href="#BackgroundService.__startExternalClient">__startExternalClient</a></td> |
74 <td>Private method to start the background client as external process.</td> |
74 <td>Private method to start the background client as external process.</td> |
75 </tr><tr> |
75 </tr><tr> |
76 <td><a href="#BackgroundService.__startInternalClient">__startInternalClient</a></td> |
|
77 <td>Private method to start the background client as internal thread.</td> |
|
78 </tr><tr> |
|
79 <td><a href="#BackgroundService.enqueueRequest">enqueueRequest</a></td> |
76 <td><a href="#BackgroundService.enqueueRequest">enqueueRequest</a></td> |
80 <td>Implement a queued processing of incomming events.</td> |
77 <td>Implement a queued processing of incomming events.</td> |
81 </tr><tr> |
78 </tr><tr> |
82 <td><a href="#BackgroundService.on_disconnectSocket">on_disconnectSocket</a></td> |
79 <td><a href="#BackgroundService.on_disconnectSocket">on_disconnectSocket</a></td> |
83 <td>Slot when connection to a client is lost.</td> |
80 <td>Slot when connection to a client is lost.</td> |
155 </dl><dl> |
152 </dl><dl> |
156 <dt>Returns:</dt> |
153 <dt>Returns:</dt> |
157 <dd> |
154 <dd> |
158 the process object (QProcess or None) |
155 the process object (QProcess or None) |
159 </dd> |
156 </dd> |
160 </dl><a NAME="BackgroundService.__startInternalClient" ID="BackgroundService.__startInternalClient"></a> |
|
161 <h4>BackgroundService.__startInternalClient</h4> |
|
162 <b>__startInternalClient</b>(<i>port</i>) |
|
163 <p> |
|
164 Private method to start the background client as internal thread. |
|
165 </p><dl> |
|
166 <dt><i>port</i></dt> |
|
167 <dd> |
|
168 socket port to which the interpreter should connect (int) |
|
169 </dd> |
|
170 </dl><dl> |
|
171 <dt>Returns:</dt> |
|
172 <dd> |
|
173 the thread object (Thread) or None |
|
174 </dd> |
|
175 </dl><a NAME="BackgroundService.enqueueRequest" ID="BackgroundService.enqueueRequest"></a> |
157 </dl><a NAME="BackgroundService.enqueueRequest" ID="BackgroundService.enqueueRequest"></a> |
176 <h4>BackgroundService.enqueueRequest</h4> |
158 <h4>BackgroundService.enqueueRequest</h4> |
177 <b>enqueueRequest</b>(<i>fx, lang, fn, data</i>) |
159 <b>enqueueRequest</b>(<i>fx, lang, fn, data</i>) |
178 <p> |
160 <p> |
179 Implement a queued processing of incomming events. |
161 Implement a queued processing of incomming events. |