| Version 5 (modified by ejhernandez@…, 6 years ago) (diff) |
|---|
Event Architecture
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.
The Architecture
Event Watcher
It will be the subject (Observer pattern) which intends to call all the registered watcher to get known if any event has ocurred. An ebox-watcher will be installed at cron that it will check every steptime for executing any script.
Concrete Watcher
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. It will be called by ebox-watcher whenever its periodicity says so.
Event Dispatcher
Called everytime a new event has been raised, it will dispatch all the new events registered to the registered dispatcher depending on the possibilities.
Event Concrete Dispatcher
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.
Attachments
-
eventFlowDiagram.png
(13.7 KB) -
added by ejhernandez@… 6 years ago.
