In
the IBM® Rational® Rhapsody® Developer for C++ CORBA
samples, the SDM_Observers model contains the following components:
- SDM (Security Door Management)
- policeObserver
- alarmObserver
Each component
performs its own task. A client
is developed in the Client_sdm_observers model.
This
system is designed to detect unauthorized entry ("break-in") to protected
buildings and to notify the proper authorities to respond to a break-in.
The general system requirements are as follows:
- The
Security Door Manager (SDM) software monitors
a Door in order to detect a door access violation (break-in).
- If there is a break-in, the software signifies
a break-in and a list of observers is notified. These observers are
registered in the SDM.
- Observers, such as police
at the police station
and security officers located remotely, are notified and the alarm
is activated.
- The police observers and alarm
observers are registered
with the Security Door Manager, and they request to be notified if
a break-in (event) occurs.
- When the break-in
event occurs, the Act operation
starts and the notification is sent to the observers.
- The alarm is activated and the police are called.