Package twisted :: Package runner :: Module procmon :: Class ProcessMonitor
[frames | no frames]

Class ProcessMonitor

      Accessor --+    
                 |    
     Versioned --+    
                 |    
ApplicationService --+
                     |
                    ProcessMonitor


Method Summary
  __init__(self, *args, **kw)
  __getstate__(self)
  __repr__(self)
  _checkConsistency(self)
  _forceStopProcess(self, proc)
  addProcess(self, name, args, uid, gid)
  connectionLost(self, name)
  removeProcess(self, name)
  restartAll(self)
  startProcess(self, name)
  startService(self)
This call is made as a service starts up.
  stopProcess(self, name)
  stopService(self)
This call is made before shutdown.
    Inherited from ApplicationService
  disownServiceParent(self)
Have my parent disown me.
  get_application(self)
  set_application(self, application)
  setApplication(self, application)
  setServiceParent(self, serviceParent)
Set my parent, which must be a service collection of some kind.
  upgradeToVersion1(self)
    Inherited from Accessor
  __delattr__(self, k)
  __getattr__(self, k)
  __setattr__(self, k, v)
  reallyDel(self, k)
*actually* del self.k without incurring side-effects.
  reallySet(self, k, v)
*actually* set self.k to v without incurring side-effects.
    Inherited from Versioned
  __setstate__(self, state)
  versionUpgrade(self)
(internal) Do a version upgrade.

Class Variable Summary
int active = 0                                                                     
NoneType consistency = None                                                                  
int consistencyDelay = 60                                                                    
int killTime = 5                                                                     
int threshold = 1                                                                     
    Inherited from ApplicationService
int persistenceVersion = 1                                                                     
NoneType serviceName = None                                                                  
NoneType serviceParent = None                                                                  
int serviceRunning = 0                                                                     
NoneType serviceType = None                                                                  
    Inherited from Versioned
tuple persistenceForgets = ()

Method Details

startService(self)

This call is made as a service starts up.
Overrides:
twisted.internet.app.ApplicationService.startService (inherited documentation)

stopService(self)

This call is made before shutdown.
Overrides:
twisted.internet.app.ApplicationService.stopService (inherited documentation)

Class Variable Details

active

Type:
int
Value:
0                                                                     

consistency

Type:
NoneType
Value:
None                                                                  

consistencyDelay

Type:
int
Value:
60                                                                    

killTime

Type:
int
Value:
5                                                                     

threshold

Type:
int
Value:
1                                                                     

Generated by Epydoc 2.0 on Sat Sep 13 04:20:49 2003 http://epydoc.sf.net