provides access to NFD FIB management More...
#include <tools/nfdc/fib-module.hpp>
Public Member Functions | |
virtual void | fetchStatus (Controller &controller, const function< void()> &onSuccess, const Controller::DatasetFailCallback &onFailure, const CommandOptions &options) override |
collect status from NFD More... | |
void | formatItemText (std::ostream &os, const FibEntry &item) const |
format a single status item as text More... | |
void | formatItemXml (std::ostream &os, const FibEntry &item) const |
format a single status item as XML More... | |
virtual void | formatStatusText (std::ostream &os) const override |
format collected status as text More... | |
virtual void | formatStatusXml (std::ostream &os) const override |
format collected status as XML More... | |
provides access to NFD FIB management
Definition at line 41 of file fib-module.hpp.
|
overridevirtual |
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 |
Implements nfd::tools::nfdc::Module.
Definition at line 34 of file fib-module.cpp.
void nfd::tools::nfdc::FibModule::formatItemText | ( | std::ostream & | os, |
const FibEntry & | item | ||
) | const |
format a single status item as text
os | output stream |
item | status item |
Definition at line 86 of file fib-module.cpp.
void nfd::tools::nfdc::FibModule::formatItemXml | ( | std::ostream & | os, |
const FibEntry & | item | ||
) | const |
format a single status item as XML
os | output stream |
item | status item |
Definition at line 58 of file fib-module.cpp.
|
overridevirtual |
format collected status as text
os | output stream |
Implements nfd::tools::nfdc::Module.
Definition at line 77 of file fib-module.cpp.
|
overridevirtual |
format collected status as XML
os | output stream |
Implements nfd::tools::nfdc::Module.
Definition at line 48 of file fib-module.cpp.