Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
StandAlone version of sending events to an external server
Usage: php -f event_sender.php <ring> <remote_server_url> Example: event_sender 1 "http://external.server.ip.address:port/my_event/path" Just a set of cut&paste of everything needed to retrieve events related to given ring and send it to an external server to be parsed program flow 1- check arguments 2- retrieve sessionID from ring number 3- connect to server. wait to get first "init" event on selected ring ( tablet inizialization ) 4- get initial EventID for 'init' on evaluated sessionID 5- retrieve new events. update last received EventID from received data 6- re-send event information to provided url 7- loop over 5,6,7 until user closes program (Ctrl-C) Need some cleanups, but works
- Loading branch information