#include <prefix-update-processor.hpp>
|
| | PrefixUpdateProcessor (ndn::mgmt::Dispatcher &dispatcher, ndn::Face &face, NamePrefixList &namePrefixList, Lsdb &lsdb) |
| |
| void | loadValidator (ConfigSection section, const std::string &filename) |
| | Load the validator's configuration from a section of a configuration file. More...
|
| |
| ndn::security::ValidatorConfig & | getValidator () |
| |
| void | advertiseAndInsertPrefix (const ndn::Name &prefix, const ndn::Interest &interest, const ndn::mgmt::ControlParameters ¶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...
|
| |
| void | withdrawAndRemovePrefix (const ndn::Name &prefix, const ndn::Interest &interest, const ndn::mgmt::ControlParameters ¶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...
|
| |
|
| ndn::PartialName | makeRelPrefix (const std::string &verb) const |
| | generate the relative prefix for a handler by appending the verb name to the module name More...
|
| |
| template<typename T > |
| bool | validateParameters (const ndn::mgmt::ControlParameters ¶meters) |
| | validate the parameters for a given command More...
|
| |
Definition at line 47 of file prefix-update-processor.hpp.
| nlsr::update::PrefixUpdateProcessor::PrefixUpdateProcessor |
( |
ndn::mgmt::Dispatcher & |
dispatcher, |
|
|
ndn::Face & |
face, |
|
|
NamePrefixList & |
namePrefixList, |
|
|
Lsdb & |
lsdb |
|
) |
| |
| void nlsr::update::CommandManagerBase::advertiseAndInsertPrefix |
( |
const ndn::Name & |
prefix, |
|
|
const ndn::Interest & |
interest, |
|
|
const ndn::mgmt::ControlParameters & |
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 54 of file manager-base.cpp.
| ndn::security::ValidatorConfig& nlsr::update::PrefixUpdateProcessor::getValidator |
( |
| ) |
|
|
inline |
| void nlsr::update::PrefixUpdateProcessor::loadValidator |
( |
ConfigSection |
section, |
|
|
const std::string & |
filename |
|
) |
| |
Load the validator's configuration from a section of a configuration file.
- See also
- ConfFileProcessor::processConfFile
-
ConfFileProcessor::processConfSectionSecurity
Loads the state of the validator for prefix update commands by reading a section from a configuration file. This function is expecting the section to be from a Boost property tree object.
- Exceptions
-
| PrefixUpdateProcessor::Error | If configuration fails to load successfully |
Definition at line 100 of file prefix-update-processor.cpp.
| ndn::PartialName nlsr::update::ManagerBase::makeRelPrefix |
( |
const std::string & |
verb | ) |
const |
|
protectedinherited |
generate the relative prefix for a handler by appending the verb name to the module name
Definition at line 38 of file manager-base.cpp.
template<typename T >
| bool nlsr::update::ManagerBase::validateParameters |
( |
const ndn::mgmt::ControlParameters & |
parameters | ) |
|
|
inlineprotectedinherited |
validate the parameters for a given command
Definition at line 75 of file manager-base.hpp.
| void nlsr::update::CommandManagerBase::withdrawAndRemovePrefix |
( |
const ndn::Name & |
prefix, |
|
|
const ndn::Interest & |
interest, |
|
|
const ndn::mgmt::ControlParameters & |
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 73 of file manager-base.cpp.
| ndn::mgmt::Dispatcher& nlsr::update::ManagerBase::m_dispatcher |
|
protectedinherited |
| Lsdb& nlsr::update::CommandManagerBase::m_lsdb |
|
protectedinherited |