Package sparked :: Module monitors :: Class Monitor
[hide private]
[frames] | no frames]

Class Monitor

source code

object --+
         |
        Monitor
Known Subclasses:

A generic monitor

Instance Methods [hide private]
 
added(self, container)
Called when monitor is added to container.
source code
 
removed(self, container)
Called when monitor is removed from container.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]
  ok = False
Boolean flag which tells if the monitor's state is 'ok' or not.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

added(self, container)

source code 

Called when monitor is added to container. The container can be used to hook services to.

removed(self, container)

source code 

Called when monitor is removed from container. The container can be used to hook services to.