volume_mute

Listener Model Architecture

publish date2026/06/13 06:39:42.548521 UTC

volume_mute

The weather station architecture uses a 'listener model' where subsystems communicate by broadcasting messages on a shared Communication link, and each subsystem listens for the messages intended for it. What is the key benefit of this architecture?

Correct Answer

It is easy to support different configurations of subsystems because the sender of a message does not need to address the message to a particular subsystem - any subsystem can listen and respond

Explanation

The listener model's key benefit is that it supports different configurations of subsystems easily. When the communications subsystem broadcasts a message (such as shutdown), each other subsystem picks up that message and responds appropriately. The sender does not need to address the message to any particular subsystem - this decoupling makes it easy to add, remove, or replace subsystems without changing the communication logic.

Reference

Software Engineering, Ian Sommerville, 10th edition


Quizzes you can take where this question appears