t.i.p.ProcessProtocol(BaseProtocol) : class documentation

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.endpoints._WrapIProtocol, twisted.internet.utils._BackRelay, twisted.internet.utils._EverythingGetter, twisted.internet.utils._ValueGetter, twisted.mail.alias.ProcessAliasProtocol, twisted.runner.procmon.LoggingProtocol, twisted.trial._dist.worker.LocalWorker, twisted.web.twcgi.CGIProcessProtocol

Base process protocol implementation which does simple dispatching for stdin, stdout, and stderr file descriptors.
Method childDataReceived Undocumented
Method outReceived Some data was received from stdout.
Method errReceived Some data was received from stderr.
Method childConnectionLost Undocumented
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 Called when the child process exits and all file descriptors associated with it have been closed.

Inherited from BaseProtocol:

Method makeConnection Make a connection to a transport and a server.
Method connectionMade Called when a connection is made.
def childDataReceived(self, childFD, data): (source)
Undocumented
def outReceived(self, data): (source)
Some data was received from stdout.
def errReceived(self, data): (source)
Some data was received from stderr.
def childConnectionLost(self, childFD): (source)
Undocumented
def inConnectionLost(self): (source)
This will be called when stdin is closed.
def outConnectionLost(self): (source)
This will be called when stdout is closed.
def errConnectionLost(self): (source)
This will be called when stderr is closed.
def processExited(self, reason): (source)
This will be called when the subprocess exits.
def processEnded(self, reason): (source)
Called when the child process exits and all file descriptors associated with it have been closed.
API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.