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 of the BackgroundService class. |
__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. |
__startExternalClient | Private method to start the background client as external process. |
enqueueRequest | Public method implementing a queued processing of incomming events. |
on_disconnectSocket | Private slot called when connection to a client is lost. |
on_newConnection | Private slot for new incomming 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 lanuage. |
serviceConnect | Public method to announce a new service to the background service/client. |
serviceDisconnect | Public method to remove the service from the service list. |
shutdown | Public method to cleanup the connections and processes when eric is shutting down. |
None |
Constructor of the BackgroundService class.
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 start the background client as external process.
Public method implementing a queued processing of incomming events.
Dublicate service requests updates 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 incomming 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 lanuage.
Public method to announce a new service to the background service/client.
Public method to remove the service from the service list.
Public method to cleanup the connections and processes when eric is shutting down.