Package ZenRRD :: Module zencommand :: Class ProcessRunner
[show private | hide private]
[frames | no frames]

Class ProcessRunner

BaseProtocol --+    
               |    
 ProcessProtocol --+
                   |
                  ProcessRunner


Provide deferred process execution
Method Summary
  outReceived(self, data)
Store up the output as it arrives from the process
  processEnded(self, reason)
notify the starter that their process is complete
  start(self, cmd)
Kick off the process: run it local
  timeout(self, value)
Kill a process if it takes too long
Inherited from ProcessProtocol: childConnectionLost, childDataReceived, errConnectionLost, errReceived, inConnectionLost, outConnectionLost

Class Variable Summary
NoneType exitCode = None                                                                  
str output = ''
NoneType stopped = None                                                                  

Method Details

outReceived(self, data)

Store up the output as it arrives from the process
Overrides:
twisted.internet.protocol.ProcessProtocol.outReceived

processEnded(self, reason)

notify the starter that their process is complete
Overrides:
twisted.internet.protocol.ProcessProtocol.processEnded

start(self, cmd)

Kick off the process: run it local

timeout(self, value)

Kill a process if it takes too long

Class Variable Details

exitCode

Type:
NoneType
Value:
None                                                                  

output

Type:
str
Value:
''                                                                     

stopped

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.1 on Thu Aug 16 09:55:11 2007 http://epydoc.sf.net