Part of lp.codehosting.codeimport.tests.test_workermonitor View In Hierarchy
| Method | __init__ | See CodeImportWorkerMonitorProtocol.__init__. |
| Method | resetTimeout | See ProcessMonitorProtocolWithTimeout.resetTimeout. |
Inherited from CodeImportWorkerMonitorProtocol:
| Method | connectionMade | See BaseProtocol.connectionMade. |
| Method | outReceived | See ProcessProtocol.outReceived. |
| Method | processEnded | See ProcessMonitorProtocolWithTimeout.processEnded. |
| Method | _updateHeartbeat | Ask the monitor to update the heartbeat. |
Inherited from ProcessMonitorProtocolWithTimeout (via CodeImportWorkerMonitorProtocol):
| Method | callLater | Override TimeoutMixin.callLater so we use self._clock. |
| Method | timeoutConnection | When a timeout occurs, kill the process and record a TimeoutError. |
Inherited from ProcessMonitorProtocol (via CodeImportWorkerMonitorProtocol, ProcessMonitorProtocolWithTimeout):
| Method | runNotification | Run a given function in series with other notifications. |
| Method | unexpectedError | Something's gone wrong: kill the subprocess and report failure. |
Inherited from ProcessProtocolWithTwoStageKill (via CodeImportWorkerMonitorProtocol, ProcessMonitorProtocolWithTimeout, ProcessMonitorProtocol):
| Method | terminateProcess | Terminate the process by SIGINT initially, but SIGKILL if needed. |
| Method | _sigkill | Forcefully kill the process. |