Part of twisted.internet.protocol View Source View In Hierarchy
Known subclasses: twisted.conch.ssh.session._ProtocolWrapper, twisted.conch.ssh.session.SSHSessionProcessProtocol, twisted.conch.stdio.TerminalProcessProtocol, twisted.internet.utils._BackRelay, twisted.internet.utils._EverythingGetter, twisted.internet.utils._ValueGetter, twisted.mail.alias.ProcessAliasProtocol, twisted.runner.procmon.LoggingProtocol, twisted.web.twcgi.CGIProcessProtocol, twisted.web2.stream._ProcessStreamerProtocol, twisted.web2.twcgi.CGIProcessProtocol
Implements interfaces: twisted.internet.interfaces.IProcessProtocol
Method | childDataReceived | Called when data arrives from the child process. |
Method | outReceived | Some data was received from stdout. |
Method | errReceived | Some data was received from stderr. |
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. |
Method | processEnded | This will be called when the subprocess is finished. |
Inherited from BaseProtocol:
Method | makeConnection | Make a connection to a transport and a server. |
Method | connectionMade | Called when a connection is made. |
Parameters | childFD | The file descriptor from which the data was received.
(type: int
) |
data | The data read from the child's file descriptor.
(type: str
) |
Parameters | childFD | The file descriptor which was closed.
(type: int
) |
Parameters | reason | (type: twisted.python.failure.Failure
) |
Parameters | reason | (type: twisted.python.failure.Failure
) |