#include <rib-manager.hpp>
Classes | |
class | Error |
Public Member Functions | |
RibManager (Dispatcher &dispatcher, ndn::Face &face, ndn::KeyChain &keyChain) | |
~RibManager () override | |
void | registerWithNfd () |
void | enableLocalFields () |
void | setConfigFile (ConfigFile &configFile) |
void | onRibUpdateSuccess (const RibUpdate &update) |
void | onRibUpdateFailure (const RibUpdate &update, uint32_t code, const std::string &error) |
Public Member Functions inherited from nfd::ManagerBase | |
ManagerBase (Dispatcher &dispatcher, const std::string &module) | |
virtual | ~ManagerBase () |
const std::string & | getModule () const |
Additional Inherited Members | |
Protected Types inherited from nfd::ManagerBase | |
typedef function< void(const ControlCommand &command, const Name &prefix, const Interest &interest, const ControlParameters ¶meters, const ndn::mgmt::CommandContinuation done)> | ControlCommandHandler |
Protected Member Functions inherited from nfd::ManagerBase | |
template<typename Command > | |
void | registerCommandHandler (const std::string &verb, const ControlCommandHandler &handler) |
void | registerStatusDatasetHandler (const std::string &verb, const ndn::mgmt::StatusDatasetHandler &handler) |
ndn::mgmt::PostNotification | registerNotificationStream (const std::string &verb) |
void | extractRequester (const Interest &interest, ndn::mgmt::AcceptContinuation accept) |
extract a requester from a ControlCommand request More... | |
Definition at line 48 of file rib-manager.hpp.
nfd::rib::RibManager::RibManager | ( | Dispatcher & | dispatcher, |
ndn::Face & | face, | ||
ndn::KeyChain & | keyChain | ||
) |
Definition at line 54 of file rib-manager.cpp.
References ndn::mgmt::Dispatcher::addTopPrefix().
|
overridedefault |
void nfd::rib::RibManager::registerWithNfd | ( | ) |
Definition at line 82 of file rib-manager.cpp.
References NFD_LOG_INFO, ndn::util::NotificationSubscriber< Notification >::onNotification, and ndn::util::NotificationSubscriberBase::start().
void nfd::rib::RibManager::enableLocalFields | ( | ) |
Definition at line 98 of file rib-manager.cpp.
References ndn::nfd::BIT_LOCAL_FIELDS_ENABLED, ndn::tlv::nfd::ControlParameters, and ndn::nfd::Controller::start().
void nfd::rib::RibManager::setConfigFile | ( | ConfigFile & | configFile | ) |
Definition at line 108 of file rib-manager.cpp.
References nfd::ConfigFile::addSectionHandler().
void nfd::rib::RibManager::onRibUpdateSuccess | ( | const RibUpdate & | update | ) |
Definition at line 115 of file rib-manager.cpp.
References NFD_LOG_DEBUG.
void nfd::rib::RibManager::onRibUpdateFailure | ( | const RibUpdate & | update, |
uint32_t | code, | ||
const std::string & | error | ||
) |
Definition at line 121 of file rib-manager.cpp.
References NFD_LOG_DEBUG.