7988:c4c17121eff8 | 7989:a21d673a8f99 |
---|---|
186 <dd> | 186 <dd> |
187 message sent by the server | 187 message sent by the server |
188 </dd> | 188 </dd> |
189 </dl> | 189 </dl> |
190 <dl> | 190 <dl> |
191 <dt>Returns:</dt> | 191 <dt>Return:</dt> |
192 <dd> | 192 <dd> |
193 tuple containing data entered by the user and | 193 tuple containing data entered by the user and |
194 a flag indicating a password input | 194 a flag indicating a password input |
195 </dd> | 195 </dd> |
196 </dl> | 196 </dl> |
206 | 206 |
207 <p> | 207 <p> |
208 Private method to read data from the command server. | 208 Private method to read data from the command server. |
209 </p> | 209 </p> |
210 <dl> | 210 <dl> |
211 <dt>Returns:</dt> | 211 <dt>Return:</dt> |
212 <dd> | 212 <dd> |
213 tuple of channel designator and channel data | 213 tuple of channel designator and channel data |
214 </dd> | 214 </dd> |
215 </dl> | 215 </dl> |
216 <dl> | 216 <dl> |
225 | 225 |
226 <p> | 226 <p> |
227 Private method to read the hello message sent by the command server. | 227 Private method to read the hello message sent by the command server. |
228 </p> | 228 </p> |
229 <dl> | 229 <dl> |
230 <dt>Returns:</dt> | 230 <dt>Return:</dt> |
231 <dd> | 231 <dd> |
232 tuple of flag indicating success and an error message in case | 232 tuple of flag indicating success and an error message in case |
233 of failure | 233 of failure |
234 </dd> | 234 </dd> |
235 </dl> | 235 </dl> |
264 must have the keys 'o' and 'e' and each entry must be a function | 264 must have the keys 'o' and 'e' and each entry must be a function |
265 receiving the data. | 265 receiving the data. |
266 </dd> | 266 </dd> |
267 </dl> | 267 </dl> |
268 <dl> | 268 <dl> |
269 <dt>Returns:</dt> | 269 <dt>Return:</dt> |
270 <dd> | 270 <dd> |
271 result code of the command, -1 if the command server wasn't | 271 result code of the command, -1 if the command server wasn't |
272 started or -10, if the command was canceled | 272 started or -10, if the command was canceled |
273 </dd> | 273 </dd> |
274 </dl> | 274 </dl> |
335 | 335 |
336 <p> | 336 <p> |
337 Public method to get the repository path this client is serving. | 337 Public method to get the repository path this client is serving. |
338 </p> | 338 </p> |
339 <dl> | 339 <dl> |
340 <dt>Returns:</dt> | 340 <dt>Return:</dt> |
341 <dd> | 341 <dd> |
342 repository path | 342 repository path |
343 </dd> | 343 </dd> |
344 </dl> | 344 </dl> |
345 <dl> | 345 <dl> |
354 | 354 |
355 <p> | 355 <p> |
356 Public method to check, if the server is executing a command. | 356 Public method to check, if the server is executing a command. |
357 </p> | 357 </p> |
358 <dl> | 358 <dl> |
359 <dt>Returns:</dt> | 359 <dt>Return:</dt> |
360 <dd> | 360 <dd> |
361 flag indicating the execution of a command | 361 flag indicating the execution of a command |
362 </dd> | 362 </dd> |
363 </dl> | 363 </dl> |
364 <dl> | 364 <dl> |
377 | 377 |
378 <p> | 378 <p> |
379 Public method to restart the command server. | 379 Public method to restart the command server. |
380 </p> | 380 </p> |
381 <dl> | 381 <dl> |
382 <dt>Returns:</dt> | 382 <dt>Return:</dt> |
383 <dd> | 383 <dd> |
384 tuple of flag indicating a successful start and an error | 384 tuple of flag indicating a successful start and an error |
385 message in case of failure | 385 message in case of failure |
386 </dd> | 386 </dd> |
387 </dl> | 387 </dl> |
428 <dd> | 428 <dd> |
429 function receiving error messages from the server | 429 function receiving error messages from the server |
430 </dd> | 430 </dd> |
431 </dl> | 431 </dl> |
432 <dl> | 432 <dl> |
433 <dt>Returns:</dt> | 433 <dt>Return:</dt> |
434 <dd> | 434 <dd> |
435 tuple of output and errors of the command server. In case | 435 tuple of output and errors of the command server. In case |
436 output and/or error functions were given, the respective return | 436 output and/or error functions were given, the respective return |
437 value will be an empty string. | 437 value will be an empty string. |
438 </dd> | 438 </dd> |
449 | 449 |
450 <p> | 450 <p> |
451 Public method to start the command server. | 451 Public method to start the command server. |
452 </p> | 452 </p> |
453 <dl> | 453 <dl> |
454 <dt>Returns:</dt> | 454 <dt>Return:</dt> |
455 <dd> | 455 <dd> |
456 tuple of flag indicating a successful start and an error | 456 tuple of flag indicating a successful start and an error |
457 message in case of failure | 457 message in case of failure |
458 </dd> | 458 </dd> |
459 </dl> | 459 </dl> |
476 | 476 |
477 <p> | 477 <p> |
478 Public method to check, if the last command was canceled. | 478 Public method to check, if the last command was canceled. |
479 </p> | 479 </p> |
480 <dl> | 480 <dl> |
481 <dt>Returns:</dt> | 481 <dt>Return:</dt> |
482 <dd> | 482 <dd> |
483 flag indicating the cancel state | 483 flag indicating the cancel state |
484 </dd> | 484 </dd> |
485 </dl> | 485 </dl> |
486 <dl> | 486 <dl> |