Architectural Design:Control Models - 3
Event-based control
- Event-driven systems are driven by externally generated events (in contrast to the values of some system state variables)
- Event is not only a binary signal, but may have a range of values
- Timing of the event is outside the control of the process which handles that event
Two examples of event-driven control models:
(a) Broadcast model:
- An event is, in principle, broadcast to all sub-systems
- Any sub-system which is designed to handle that event repsonds to it(registration with event handler required)
Event and message handler