nickandrew / LS30

Control software for LS-30 alarm system
11 stars 3 forks source link

Daemon to send responses only to the requesting client #9

Closed nickandrew closed 8 years ago

nickandrew commented 9 years ago

For the daemon to send responses to all clients risks confusing those clients request/response pairs.

To implement this, the daemon needs to use LS30::Commander.

Also, there could be an option for a client to be a passive listener, to receive all other clients requests and responses in its feed. Such a client could track the state of the device passively, as was my intention about 4 years ago.

nickandrew commented 8 years ago

This was done when I rewrote a lot of code to make it event-driven.