l.c.c.t.t.CIWorkerMonitorProtocolForTesting(CodeImportWorkerMonitorProtocol) : class documentation

Part of lp.codehosting.codeimport.tests.test_workermonitor View In Hierarchy

A CodeImportWorkerMonitorProtocol that counts resetTimeout calls.
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.
def __init__(self, deferred, worker_monitor, log_file, clock=None):
See CodeImportWorkerMonitorProtocol.__init__.
def resetTimeout(self):
See ProcessMonitorProtocolWithTimeout.resetTimeout.
API Documentation for Launchpad, generated by pydoctor at 2019-11-20 00:00:15.