Closed SeyelentEco closed 9 years ago
lgtm as-is, feel free to fold in my suggestions at your discretion.
Red diffs are ossm.
Alex -- give the word when you're ready for one of us to pull the merge trigger, or just go ahead and do it yourself once you've integrated feedback to your desired level.
Refactored the SamplingHandler to not leak any internal details and fixed a few nits.
We didn’t need to use the custom Qtaguid parser since TrafficStats provided us all the info we needed.
Also while testing I noticed a race condition with starting/stopping. The MSG_STOP handler would cancel the MSG_START but it happened asynchronously. If you called stopSampling() then startSampling() like in the sample app, it would schedule a MSG_STOP then a MSG_START, when MSG_STOP was handled, it would cancel the MSG_START accidentally.