24 #include <ndn-cxx/mgmt/nfd/control-command.hpp>
33 m_dispatcher.addControlCommand<ndn::nfd::RibRegisterCommand>(
34 ndn::mgmt::makeAcceptAllAuthorization(),
38 m_dispatcher.addControlCommand<ndn::nfd::RibUnregisterCommand>(
39 ndn::mgmt::makeAcceptAllAuthorization(),
ndn::mgmt::Dispatcher & m_dispatcher
void advertiseAndInsertPrefix(const ndn::mgmt::ControlParametersBase ¶meters, const ndn::mgmt::CommandContinuation &done)
Add desired name prefix to the advertised name prefix list or insert a prefix into the FIB if paramet...
void withdrawAndRemovePrefix(const ndn::mgmt::ControlParametersBase ¶meters, const ndn::mgmt::CommandContinuation &done)
Remove desired name prefix from the advertised name prefix list or remove a prefix from the FIB if pa...
NfdRibCommandProcessor(ndn::mgmt::Dispatcher &dispatcher, NamePrefixList &namePrefixList, Lsdb &lsdb)