Port CLI monitor to use new interface
Review Request #124229 - Created July 2, 2015 and discarded
CLI monitor now uses new interface to communicate with extractor.
|I think you may as well use the extractorInterface and check if it is valid? If it has a mehtod ...||Vishesh Handa|
I think you may as well use the extractorInterface and check if it is valid? If it has a mehtod for that, I could be wrong.
Also, we're combining the logic with the presentation. balooctl/main.cpp usually calls stuff, figures out the state and then outputs text / canBe something else.
Similarily, perhaps Monitor should just be one of the classes that tells us the state so that we can output it, to however we want.