class documentation
class StubProcessProtocol(protocol.ProcessProtocol): (source)
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 | err |
This will be called when stderr is closed. |
Method | err |
Some data was received from stderr. |
Method | in |
This will be called when stdin is closed. |
Method | out |
This will be called when stdout is closed. |
Method | out |
Some data was received from stdout. |
Inherited from ProcessProtocol
:
Method | child |
Called when a file descriptor associated with the child process is closed. |
Method | child |
Called when data arrives from the child process. |
Method | process |
Called when the child process exits and all file descriptors associated with it have been closed. |
Method | process |
This will be called when the subprocess exits. |
Class Variable | transport |
Undocumented |
Inherited from BaseProtocol
(via ProcessProtocol
):
Method | connection |
Called when a connection is made. |
Method | make |
Make a connection to a transport and a server. |
Instance Variable | connected |
Undocumented |