Package beepy :: Package core :: Module _util :: Class Monitor
[show private | hide private]
[frames | no frames]

Class Monitor

object --+            
         |            
  _Verbose --+        
             |        
        Thread --+    
                 |    
     LoopingThread --+
                     |
                    Monitor


Monitors other threads for error conditions
Method Summary
  __init__(self, errEvent, timeout, name)
  handleError(self, exc, obj)
handleError is an abstract function for handling whatever errors you might encounter.
  loop(self)
  startMonitoring(self, monitoredObj)
Add an isMonitored object to my list of monitored objects.
  stop(self)
  stopMonitoring(self, monitoredObj)
Remove object from the list of monitored objects
    Inherited from LoopingThread
  cleanup(self)
  run(self)
  terminate(self)
    Inherited from Thread
  __repr__(self)
  getName(self)
  isAlive(self)
  isDaemon(self)
  join(self, timeout)
  setDaemon(self, daemonic)
  setName(self, name)
  start(self)
  _set_daemon(self)
    Inherited from _Verbose
  _note(self, format, *args)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)
    Inherited from type
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T

Class Variable Summary
    Inherited from Thread
bool _Thread__initialized = False

Method Details

handleError(self, exc, obj)

handleError is an abstract function for handling whatever errors you might encounter. Default behaviour is just to raise them

startMonitoring(self, monitoredObj)

Add an isMonitored object to my list of monitored objects.

stopMonitoring(self, monitoredObj)

Remove object from the list of monitored objects

Generated by Epydoc 2.0 on Thu Sep 30 14:39:25 2004 http://epydoc.sf.net