#include <nfd-rib-command-processor.hpp>
|
| NfdRibCommandProcessor (ndn::mgmt::Dispatcher &dispatcher, NamePrefixList &namePrefixList, Lsdb &lsdb) |
|
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 parameters is valid. More...
|
|
virtual std::optional< bool > | afterAdvertise (const ndn::Name &prefix) |
| Save an advertised prefix to the nlsr configuration file. More...
|
|
virtual std::optional< bool > | afterWithdraw (const ndn::Name &prefix) |
| Save an advertised prefix to the nlsr configuration file. More...
|
|
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 parameters is valid. More...
|
|
◆ NfdRibCommandProcessor()
nlsr::update::NfdRibCommandProcessor::NfdRibCommandProcessor |
( |
ndn::mgmt::Dispatcher & |
dispatcher, |
|
|
NamePrefixList & |
namePrefixList, |
|
|
Lsdb & |
lsdb |
|
) |
| |
◆ advertiseAndInsertPrefix()
void nlsr::update::CommandProcessor::advertiseAndInsertPrefix |
( |
const ndn::mgmt::ControlParametersBase & |
parameters, |
|
|
const ndn::mgmt::CommandContinuation & |
done |
|
) |
| |
|
inherited |
Add desired name prefix to the advertised name prefix list or insert a prefix into the FIB if parameters is valid.
Definition at line 43 of file command-processor.cpp.
◆ afterAdvertise()
virtual std::optional<bool> nlsr::update::CommandProcessor::afterAdvertise |
( |
const ndn::Name & |
prefix | ) |
|
|
inlinevirtualinherited |
◆ afterWithdraw()
virtual std::optional<bool> nlsr::update::CommandProcessor::afterWithdraw |
( |
const ndn::Name & |
prefix | ) |
|
|
inlinevirtualinherited |
◆ withdrawAndRemovePrefix()
void nlsr::update::CommandProcessor::withdrawAndRemovePrefix |
( |
const ndn::mgmt::ControlParametersBase & |
parameters, |
|
|
const ndn::mgmt::CommandContinuation & |
done |
|
) |
| |
|
inherited |
Remove desired name prefix from the advertised name prefix list or remove a prefix from the FIB if parameters is valid.
Definition at line 82 of file command-processor.cpp.
◆ m_dispatcher
ndn::mgmt::Dispatcher& nlsr::update::CommandProcessor::m_dispatcher |
|
protectedinherited |
◆ m_lsdb
Lsdb& nlsr::update::CommandProcessor::m_lsdb |
|
protectedinherited |
◆ m_namePrefixList