provides access to NFD RIB management More...
#include <tools/nfdc/rib-module.hpp>
Public Member Functions | |
void | fetchStatus (Controller &controller, const function< void()> &onSuccess, const Controller::DatasetFailCallback &onFailure, const CommandOptions &options) override |
collect status from NFD More... | |
void | formatStatusText (std::ostream &os) const override |
format collected status as text More... | |
void | formatStatusXml (std::ostream &os) const override |
format collected status as XML More... | |
Static Public Member Functions | |
static void | add (ExecuteContext &ctx) |
the 'route add' command More... | |
static void | list (ExecuteContext &ctx) |
the 'route list' command More... | |
static void | registerCommands (CommandParser &parser) |
register 'route list', 'route show', 'route add', 'route remove' commands More... | |
static void | remove (ExecuteContext &ctx) |
the 'route remove' command More... | |
static void | show (ExecuteContext &ctx) |
the 'route show' command More... | |
provides access to NFD RIB management
Definition at line 42 of file rib-module.hpp.
|
static |
the 'route add' command
Definition at line 143 of file rib-module.cpp.
|
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 259 of file rib-module.cpp.
|
overridevirtual |
format collected status as text
os | output stream |
Implements nfd::tools::nfdc::Module.
Definition at line 321 of file rib-module.cpp.
|
overridevirtual |
format collected status as XML
os | output stream |
Implements nfd::tools::nfdc::Module.
Definition at line 273 of file rib-module.cpp.
|
static |
the 'route list' command
Definition at line 72 of file rib-module.cpp.
|
static |
register 'route list', 'route show', 'route add', 'route remove' commands
Definition at line 35 of file rib-module.cpp.
|
static |
the 'route remove' command
Definition at line 211 of file rib-module.cpp.
|
static |
the 'route show' command
Definition at line 106 of file rib-module.cpp.