Module implementing a background service for the various checkers and other Python interpreter dependent functions.
None |
BackgroundService | Class implementing the main part of the background service. |
None |
Class implementing the main part of the background service.
None |
None |
BackgroundService | Constructor |
__getPythonInterpreter | Private method to generate the path of the Python interpreter to be used to run the background client. |
__processQueue | Private method to take the next service request and send it to the client. |
__receive | Private method to receive the response from the clients. |
__send | Private method to send a job request to one of the clients. |
__shutdown | Private method to cleanup the connections and processes when eric is shutting down. |
__startExternalClient | Private method to start the background client as external process. |
enqueueRequest | Public method implementing a queued processing of incoming events. |
on_disconnectSocket | Private slot called when connection to a client is lost. |
on_newConnection | Private slot for new incoming connections from the clients. |
preferencesOrProjectChanged | Public slot to restart the built in languages. |
requestCancel | Public method to ask a batch job to terminate. |
restartService | Public method to restart a given language. |
serviceConnect | Public method to announce a new service to the background service/client. |
serviceDisconnect | Public method to remove the service from the service list. |
None |
Constructor
Private method to generate the path of the Python interpreter to be used to run the background client.
Private method to take the next service request and send it to the client.
Private method to receive the response from the clients.
Private method to send a job request to one of the clients.
Private method to cleanup the connections and processes when eric is shutting down.
Private method to start the background client as external process.
Public method implementing a queued processing of incoming events.
Duplicate service requests update an older request to avoid overrun or starving of the services.
Private slot called when connection to a client is lost.
Private slot for new incoming connections from the clients.
Public slot to restart the built in languages.
Public method to ask a batch job to terminate.
Public method to restart a given language.
Public method to announce a new service to the background service/client.
Public method to remove the service from the service list.