provides access to an NFD management module More...
#include <tools/nfdc/module.hpp>
Public Member Functions | |
virtual | ~Module ()=default |
virtual void | fetchStatus (Controller &controller, const function< void()> &onSuccess, const Controller::DatasetFailCallback &onFailure, const CommandOptions &options)=0 |
collect status from NFD More... | |
virtual void | formatStatusText (std::ostream &os) const =0 |
format collected status as text More... | |
virtual void | formatStatusXml (std::ostream &os) const =0 |
format collected status as XML More... | |
provides access to an NFD management module
Definition at line 43 of file module.hpp.
|
virtualdefault |
|
pure virtual |
collect status from NFD
controller | a controller through which StatusDataset can be requested |
onSuccess | invoked when status has been collected into this instance |
onFailure | passed to controller.fetch |
options | passed to controller.fetch |
Implemented in nfd::tools::nfdc::RibModule, nfd::tools::nfdc::FaceModule, nfd::tools::nfdc::StrategyChoiceModule, nfd::tools::nfdc::FibModule, nfd::tools::nfdc::ChannelModule, and nfd::tools::nfdc::ForwarderGeneralModule.
|
pure virtual |
format collected status as text
os | output stream |
Implemented in nfd::tools::nfdc::FaceModule, nfd::tools::nfdc::StrategyChoiceModule, nfd::tools::nfdc::RibModule, nfd::tools::nfdc::FibModule, nfd::tools::nfdc::ChannelModule, and nfd::tools::nfdc::ForwarderGeneralModule.
|
pure virtual |
format collected status as XML
os | output stream |
Implemented in nfd::tools::nfdc::RibModule, nfd::tools::nfdc::FaceModule, nfd::tools::nfdc::StrategyChoiceModule, nfd::tools::nfdc::FibModule, nfd::tools::nfdc::ChannelModule, and nfd::tools::nfdc::ForwarderGeneralModule.