|
NFD: Named Data Networking Forwarding Daemon 24.07-28-gdcc0e6e0
|
Provides access to an NFD management module. More...
#include <tools/nfdc/module.hpp>
Inheritance diagram for nfd::tools::nfdc::Module:Public Member Functions | |
| virtual | ~Module ()=default |
| virtual void | fetchStatus (ndn::nfd::Controller &controller, const std::function< void()> &onSuccess, const ndn::nfd::DatasetFailureCallback &onFailure, const CommandOptions &options)=0 |
| Collect status from NFD. | |
| virtual void | formatStatusText (std::ostream &os) const =0 |
| Format collected status as text. | |
| virtual void | formatStatusXml (std::ostream &os) const =0 |
| Format collected status as XML. | |
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::ChannelModule, nfd::tools::nfdc::CsModule, nfd::tools::nfdc::FaceModule, nfd::tools::nfdc::FibModule, nfd::tools::nfdc::ForwarderGeneralModule, nfd::tools::nfdc::RibModule, and nfd::tools::nfdc::StrategyChoiceModule.
|
pure virtual |
Format collected status as text.
| os | output stream |
Implemented in nfd::tools::nfdc::ChannelModule, nfd::tools::nfdc::CsModule, nfd::tools::nfdc::FaceModule, nfd::tools::nfdc::FibModule, nfd::tools::nfdc::ForwarderGeneralModule, nfd::tools::nfdc::RibModule, and nfd::tools::nfdc::StrategyChoiceModule.
|
pure virtual |
Format collected status as XML.
| os | output stream |
Implemented in nfd::tools::nfdc::ChannelModule, nfd::tools::nfdc::CsModule, nfd::tools::nfdc::FaceModule, nfd::tools::nfdc::FibModule, nfd::tools::nfdc::ForwarderGeneralModule, nfd::tools::nfdc::RibModule, and nfd::tools::nfdc::StrategyChoiceModule.