ProcessProtocol counter-implementation: all methods on this class raise an exception, so instances of this may be used to verify that only certain methods are called.

Method outReceived Some data was received from stdout.
Method errReceived Some data was received from stderr.
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.

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 processExited This will be called when the subprocess exits.
Method processEnded Called when the child process exits and all file descriptors associated with it have been closed.

Inherited from BaseProtocol (via ProcessProtocol):

Method makeConnection Make a connection to a transport and a server.
Method connectionMade Called when a connection is made.
def outReceived(self, data):

Some data was received from stdout.

def errReceived(self, data):

Some data was received from stderr.

def inConnectionLost(self):

This will be called when stdin is closed.

def outConnectionLost(self):

This will be called when stdout is closed.

def errConnectionLost(self):

This will be called when stderr is closed.

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