#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.
|
| |
| virtual std::tuple< bool, std::string > | afterAdvertise (const ndn::Name &prefix, uint64_t cost) |
| | Processing after advertise command delegated to subclass. This is always treated as successful if not implemented.
|
| |
| virtual std::tuple< bool, std::string > | afterWithdraw (const ndn::Name &prefix) |
| | Processing after withdraw command delegated to subclass. This is always treated as successful if not implemented.
|
| |
| 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.
|
| |
◆ 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::tuple< bool, std::string > nlsr::update::CommandProcessor::afterAdvertise |
( |
const ndn::Name & |
prefix, |
|
|
uint64_t |
cost |
|
) |
| |
|
inlinevirtualinherited |
◆ afterWithdraw()
| virtual std::tuple< bool, std::string > 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 89 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