Simple process protocol for tests purpose.

Instance Variable outData data received from stdin
Instance Variable errData data received from stderr
Method __init__ Create the deferred that will be fired at the end, and initialize data structures.
Method processEnded Called when the child process exits and all file descriptors associated with it have been closed.
Method outReceived Some data was received from stdout.
Method errReceived Some data was received from stderr.

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.
outData =
data received from stdin
errData =
data received from stderr
def __init__(self, d):

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

def processEnded(self, reason):

Called when the child process exits and all file descriptors associated with it have been closed.

def outReceived(self, data):

Some data was received from stdout.

def errReceived(self, data):

Some data was received from stderr.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.