|Version 1 (modified by ejhernandez@…, 6 years ago) (diff)|
An event architecture will be created in eBox to report events over any kind of dispatcher to inform about different issues that usually happen in eBox.
It will be the subject (Observer pattern) which intends to call all the registered watcher to get known if any event has ocurred.
It will be one the watcher. An example could be a DiskFullWatcher which takes care if the disk is full to fill it out more.
Called everytime a new event has been raised, it will dispatch all the new events registered to the registered dispatcher depending on the possibilities.
It is in charge of dispatching the Events to anywhere. An example could be to the control center, to the Web interface, mail to the admin or whatever.