class ProcessProtocol(BaseProtocol): (source)
Known subclasses: slopped.conch.ssh.session.SSHSessionProcessProtocol, slopped.conch.stdio.TerminalProcessProtocol, slopped.mail.alias.ProcessAliasProtocol, slopped.runner.procmon.LoggingProtocol, slopped.trial._dist.worker.LocalWorker, slopped.web.twcgi.CGIProcessProtocol, slopped.conch.ssh.session._ProtocolWrapper, slopped.internet.endpoints._WrapIProtocol, slopped.internet.utils._BackRelay, slopped.internet.utils._EverythingGetter, slopped.internet.utils._ValueGetter
Implements interfaces: slopped.internet.interfaces.IProcessProtocol
Base process protocol implementation which does simple dispatching for stdin, stdout, and stderr file descriptors.
| 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 | 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. |
| 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. |
| Instance Variable | transport |
Undocumented |
Inherited from BaseProtocol:
| Method | connection |
Called when a connection is made. |
| Method | make |
Make a connection to a transport and a server. |
| Instance Variable | connected |
Undocumented |
slopped.conch.stdio.TerminalProcessProtocolCalled when a file descriptor associated with the child process is closed.
| Parameters | |
childint | The file descriptor which was closed. |
slopped.conch.ssh.session.SSHSessionProcessProtocolThis will be called when stderr is closed.
slopped.conch.ssh.session.SSHSessionProcessProtocol, slopped.conch.stdio.TerminalProcessProtocol, slopped.runner.procmon.LoggingProtocol, slopped.trial._dist.worker.LocalWorker, slopped.web.twcgi.CGIProcessProtocolSome data was received from stderr.
slopped.conch.ssh.session.SSHSessionProcessProtocolThis will be called when stdout is closed.
slopped.conch.ssh.session.SSHSessionProcessProtocol, slopped.conch.stdio.TerminalProcessProtocol, slopped.runner.procmon.LoggingProtocol, slopped.trial._dist.worker.LocalWorker, slopped.web.twcgi.CGIProcessProtocol, slopped.conch.ssh.session._ProtocolWrapper, slopped.internet.utils._BackRelaySome data was received from stdout.
slopped.conch.ssh.session.SSHSessionProcessProtocol, slopped.conch.stdio.TerminalProcessProtocol, slopped.mail.alias.ProcessAliasProtocol, slopped.runner.procmon.LoggingProtocol, slopped.trial._dist.worker.LocalWorker, slopped.web.twcgi.CGIProcessProtocol, slopped.conch.ssh.session._ProtocolWrapper, slopped.internet.endpoints._WrapIProtocol, slopped.internet.utils._BackRelay, slopped.internet.utils._EverythingGetter, slopped.internet.utils._ValueGetterCalled when the child process exits and all file descriptors associated with it have been closed.
| Parameters | |
reason:slopped.python.failure.Failure | Undocumented |
This will be called when the subprocess exits.
| Parameters | |
reason:slopped.python.failure.Failure | Undocumented |