Module implementing the JSON based client base class.
None |
EricJsonClient | Class implementing a JSON based client base class. |
None |
Class implementing a JSON based client base class.
None |
None |
EricJsonClient | Constructor |
__receiveBytes | Private method to receive the given length of bytes. |
__receiveJson | Private method to receive a JSON encoded command and data from the server. |
handleCall | Public method to handle a method call from the server. |
poll | Public method to check and receive one message (if available). |
run | Public method implementing the main loop of the client. |
sendJson | Public method to send a single refactoring command to the server. |
None |
Constructor
Private method to receive the given length of bytes.
Private method to receive a JSON encoded command and data from the server.
Public method to handle a method call from the server.
Note: This is an empty implementation that must be overridden in derived classes.
Public method to check and receive one message (if available).
Public method implementing the main loop of the client.
Public method to send a single refactoring command to the server.