zbanks / flux

Middlelayer for controlling lux devices & more: "jackd for lights"
MIT License
5 stars 3 forks source link

Allow clients to claim ownership of server resources #2

Open zbanks opened 9 years ago

zbanks commented 9 years ago

There should be a protocol which allows the client to "claim ownership" of a server resource (light strip) so that only that one client can send commands to it.

The client will need to send a heartbeat (e.g. continue to assert ownership).

Right now, if two clients try to control a resource, the frames are interleaved.