YuKitsune / OneSim

OneSim is basically a Swiss Army knife for Flight Simulator enthusiasts.
1 stars 0 forks source link

Refactor Traffic Data Provider #55

Open YuKitsune opened 4 years ago

YuKitsune commented 4 years ago

Need to refactor the Traffic Data Provider to react to new data incoming, rather than poll the data source.

YuKitsune commented 4 years ago

Consider using a delegate (Action<T>) to handle the data. Older data sources like Pilot Edge and IVAO can manually trigger this delegate using a timer, newer sources like VATSIM should be able to invoke the delegate when a new message has been received over Kafka.