twisted.test.test_process.StubProcessProtocol(protocol.ProcessProtocol) class documentationtwisted.test.test_process
(View In Hierarchy)
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. |