class documentation

class ConchTestOpenSSHProcess(protocol.ProcessProtocol): (source)

View In Hierarchy

Test protocol for launching an OpenSSH client process.

Method errReceived Some data was received from stderr.
Method outReceived Some data was received from stdout.
Method processEnded Called when the process has ended.
Class Variable buf Undocumented
Class Variable problems Undocumented
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 _getDeferred Undocumented

Inherited from ProcessProtocol:

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

Inherited from BaseProtocol (via ProcessProtocol):

Method connectionMade Called when a connection is made.
Method makeConnection Make a connection to a transport and a server.
Instance Variable connected Undocumented
def errReceived(self, data): (source)

Some data was received from stderr.

def outReceived(self, data): (source)

Some data was received from stdout.

def processEnded(self, reason): (source)

Called when the process has ended.

Parameters
reasona Failure giving the reason for the process' end.

Undocumented

Undocumented

deferred = (source)

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): (source)

Undocumented