Test protocol for launching an OpenSSH client process.

Instance Variable deferred Set by whatever uses this object. Accessed using _getDeferred, which destroys the value so the Deferred is not fired twice. Fires when the process is terminated.
Method outReceived Some data was received from stdout.
Method errReceived Some data was received from stderr.
Method processEnded Called when the process has ended.
Method _getDeferred Undocumented

Inherited from ProcessProtocol:

Method childDataReceived Called when data arrives from the child process.
Method childConnectionLost Called when a file descriptor associated with the child process is closed.
Method inConnectionLost This will be called when stdin is closed.
Method outConnectionLost This will be called when stdout is closed.
Method errConnectionLost This will be called when stderr is closed.
Method processExited This will be called when the subprocess exits.

Inherited from BaseProtocol (via ProcessProtocol):

Method makeConnection Make a connection to a transport and a server.
Method connectionMade Called when a connection is made.
deferred =
Set by whatever uses this object. Accessed using _getDeferred, which destroys the value so the Deferred is not fired twice. Fires when the process is terminated.
def _getDeferred(self):
Undocumented
def outReceived(self, data):

Some data was received from stdout.

def errReceived(self, data):

Some data was received from stderr.

def processEnded(self, reason):

Called when the process has ended.

Parametersreasona Failure giving the reason for the process' end.
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.