class documentation

class TrivialProcessProtocol(protocol.ProcessProtocol): (source)

View In Hierarchy

Simple process protocol for tests purpose.

Method __init__ Create the deferred that will be fired at the end, and initialize data structures.
Method errReceived Some data was received from stderr.
Method outReceived Some data was received from stdout.
Method processEnded Called when the child process exits and all file descriptors associated with it have been closed.
Instance Variable deferred Undocumented
Instance Variable errData data received from stderr
Instance Variable outData data received from stdin
Instance Variable reason 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 __init__(self, d): (source)

Create the deferred that will be fired at the end, and initialize data structures.

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 child process exits and all file descriptors associated with it have been closed.

Parameters
reason:twisted.python.failure.FailureUndocumented
deferred = (source)

Undocumented

data received from stderr

data received from stdin

Undocumented