AmiClient icon indicating copy to clipboard operation
AmiClient copied to clipboard

#18: Optimize reading and parsing events

Open Grado0699 opened this issue 2 years ago • 0 comments

Fix of issue #18

  • add a concurrent queue with two worker threads
  • EventReader: reads incoming events from stream and enqueues them
  • EventWorker: dequeues events and parses them into a AmiMessage
  • DataEventArgs is extended to directly retrieve the parsed AmiMessage (no additional parsing needed)
  • But this also removes the use of Reactive Extensions

Grado0699 avatar Feb 15 '23 13:02 Grado0699