Module implementing the JSON based server base class.
None |
EricJsonServer | Class implementing a JSON based server base class. |
None |
Class implementing a JSON based server base class.
None |
None |
EricJsonServer | Constructor |
__handleDisconnect | Private slot handling a disconnect of the client. |
__receiveJson | Private slot handling received data from the client. |
connectionNames | Public method to get the list of active connection names. |
handleCall | Public method to handle a method call from the client. |
handleNewConnection | Public slot for new incoming connections from a client. |
sendJson | Public method to send a single command to a client. |
startClient | Public method to start a client process. |
stopAllClients | Public method to stop all clients. |
stopClient | Public method to stop a client process. |
None |
Constructor
Private slot handling a disconnect of the client.
Private slot handling received data from the client.
Public method to get the list of active connection names.
If this is not a multiplexing server, an empty list is returned.
Public method to handle a method call from the client.
Note: This is an empty implementation that must be overridden in derived classes.
Public slot for new incoming connections from a client.
Public method to send a single command to a client.
Public method to start a client process.
Public method to stop all clients.
Public method to stop a client process.