Apteryx is awesome
API has changed from 1.xx series
- no priv field for watch/provide
- validation is done on apteryx_set (callbacks can be registered with apteryx_validate, works like apteryx_watch but can prevent apteryx_set from completing)
- watch/provide/validate stored in /apteryx with apteryx_set
- listen on tcp/tcp6 sockets (set /apteryx/sockets/...)
- access remote apteryx servers (prefix get/set path with remote address)
- treat callback function as part of unique key for watch/provide/validate (multiple callbacks can be registered for the same path in the same process, and each will be called, previously only the last to register would be called)
- timestamp last change (and propogate timestamp upwards) to identify changes in apteryx