probr-uzh / probr-analysis

Analysis components for the probr WiFi tracking system
MIT License
14 stars 9 forks source link

provide socket-endpoints #3

Closed dschoeni closed 9 years ago

dschoeni commented 9 years ago

The analysis backend should provide sockets to deliver new real-time data on certain endpoints of interest.

dschoeni commented 9 years ago

Node should automatically read Packets from Redis, provided by probr-core and output these with Socket.IO

dschoeni commented 9 years ago

The feature has been implemented in https://github.com/probr/probr-analysis/tree/feature/socketio-redis, respectively https://github.com/probr/probr-core/tree/feature/socketio-handler at core.

After merging, you will be able to publish events from the core project to redis, which automatically get broadcasted through Socket.IO. You can specify rooms, namespaces etc. from probr-core. Right now, packet:create events are broadcasted to everyone that is listening.

dschoeni commented 9 years ago

Has been merged at b4e0fcbb0a5ac90535787c1a6b73e1bbc0ad75ca