208 <tr> |
208 <tr> |
209 <td><a href="#EricServerInterface.isServerConnected">isServerConnected</a></td> |
209 <td><a href="#EricServerInterface.isServerConnected">isServerConnected</a></td> |
210 <td>Public method to check, if a connection to an eric-ide server has been established.</td> |
210 <td>Public method to check, if a connection to an eric-ide server has been established.</td> |
211 </tr> |
211 </tr> |
212 <tr> |
212 <tr> |
|
213 <td><a href="#EricServerInterface.parseHost">parseHost</a></td> |
|
214 <td>Public method to parse a host string generated with 'getHost()'.</td> |
|
215 </tr> |
|
216 <tr> |
213 <td><a href="#EricServerInterface.sendJson">sendJson</a></td> |
217 <td><a href="#EricServerInterface.sendJson">sendJson</a></td> |
214 <td>Public method to send a single command to a client.</td> |
218 <td>Public method to send a single command to a client.</td> |
215 </tr> |
219 </tr> |
216 <tr> |
220 <tr> |
217 <td><a href="#EricServerInterface.serverVersions">serverVersions</a></td> |
221 <td><a href="#EricServerInterface.serverVersions">serverVersions</a></td> |
581 <dt>Return Type:</dt> |
585 <dt>Return Type:</dt> |
582 <dd> |
586 <dd> |
583 bool |
587 bool |
584 </dd> |
588 </dd> |
585 </dl> |
589 </dl> |
|
590 <a NAME="EricServerInterface.parseHost" ID="EricServerInterface.parseHost"></a> |
|
591 <h4>EricServerInterface.parseHost</h4> |
|
592 <b>parseHost</b>(<i>host</i>) |
|
593 <p> |
|
594 Public method to parse a host string generated with 'getHost()'. |
|
595 </p> |
|
596 |
|
597 <dl> |
|
598 |
|
599 <dt><i>host</i> (str)</dt> |
|
600 <dd> |
|
601 host string |
|
602 </dd> |
|
603 </dl> |
|
604 <dl> |
|
605 <dt>Return:</dt> |
|
606 <dd> |
|
607 tuple containing the host name and the port |
|
608 </dd> |
|
609 </dl> |
|
610 <dl> |
|
611 <dt>Return Type:</dt> |
|
612 <dd> |
|
613 tuple of (str, int) |
|
614 </dd> |
|
615 </dl> |
586 <a NAME="EricServerInterface.sendJson" ID="EricServerInterface.sendJson"></a> |
616 <a NAME="EricServerInterface.sendJson" ID="EricServerInterface.sendJson"></a> |
587 <h4>EricServerInterface.sendJson</h4> |
617 <h4>EricServerInterface.sendJson</h4> |
588 <b>sendJson</b>(<i>category, request, params, callback=None, flush=False</i>) |
618 <b>sendJson</b>(<i>category, request, params, callback=None, flush=False</i>) |
589 <p> |
619 <p> |
590 Public method to send a single command to a client. |
620 Public method to send a single command to a client. |