Package twisted :: Package test :: Module test_process :: Class SignalProtocol
[show private | hide private]
[frames | no frames]

Class SignalProtocol

BaseProtocol --+    
               |    
 ProcessProtocol --+
                   |
                  SignalProtocol


Method Summary
  __init__(self, sig)
  connectionMade(self)
Called when a connection is made. (inherited from BaseProtocol)
  errConnectionLost(self)
This will be called when stderr is closed. (inherited from ProcessProtocol)
  errReceived(self, data)
Some data was received from stderr. (inherited from ProcessProtocol)
  inConnectionLost(self)
Called when stdin is shut down. (inherited from ProcessProtocol)
  makeConnection(self, transport)
Make a connection to a transport and a server. (inherited from BaseProtocol)
  outConnectionLost(self)
Called when stdout is shut down. (inherited from ProcessProtocol)
  outReceived(self, data)
Some data was received from stdout.
  processEnded(self, reason)
This will be called when the subprocess is finished.

Method Details

outReceived(self, data)

Some data was received from stdout.
Overrides:
twisted.internet.protocol.ProcessProtocol.outReceived (inherited documentation)

processEnded(self, reason)

This will be called when the subprocess is finished.
Parameters:
reason
           (type=twisted.python.failure.Failure)
Overrides:
twisted.internet.protocol.ProcessProtocol.processEnded (inherited documentation)

Generated by Epydoc 1.2 prerelease on Wed Jan 29 06:29:04 2003 http://epydoc.sf.net