iTrace-Dev / iTrace

Infrastructure supporting implicit eye tracking on software artifacts within the IDE and browser.
http://www.i-trace.org
2 stars 0 forks source link

flesh out plugin side of tcp socket to create gaze objects and post events #111

Closed shbonita closed 6 years ago

shbonita commented 7 years ago

These are the steps

  1. Create an IEventBroker during setup.
  2. Parse data received from engine, into integers.
  3. Wrap them in a Gaze object.
  4. post a "Gaze Data" event using the IEventBroker.

See https://github.com/SERESLab/iTrace-Eclipse/blob/issue85-itraceEngine/src/edu/ysu/itrace/EngineSocket.java

Steps 1 and 4 are done (just change "SocketData" to GazeData", replace raw data with gaze object). Replace timer with a while loop checking if the reader is ready and continuing if not (timer checks the socket every ten ms, while loop would work continually).

shbonita commented 6 years ago

This issue has moved to the respective plugin repo. Closing.