implement the FIB Management of NFD Management Protocol. More...
#include <fib-manager.hpp>
Public Member Functions | |
FibManager (Fib &fib, const FaceTable &faceTable, Dispatcher &dispatcher, CommandAuthenticator &authenticator) | |
Public Member Functions inherited from nfd::NfdManagerBase | |
NfdManagerBase (Dispatcher &dispatcher, CommandAuthenticator &authenticator, const std::string &module) | |
Public Member Functions inherited from nfd::ManagerBase | |
ManagerBase (Dispatcher &dispatcher, const std::string &module) | |
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... | |
implement the FIB Management of NFD Management Protocol.
Definition at line 42 of file fib-manager.hpp.
nfd::FibManager::FibManager | ( | Fib & | fib, |
const FaceTable & | faceTable, | ||
Dispatcher & | dispatcher, | ||
CommandAuthenticator & | authenticator | ||
) |
Definition at line 35 of file fib-manager.cpp.
References nfd::fib::Entry::addNextHop(), ndn::nfd::FibEntry::addNextHopRecord(), ndn::mgmt::StatusDatasetContext::append(), ndn::mgmt::StatusDatasetContext::end(), nfd::fib::Fib::erase(), nfd::fib::Fib::findExactMatch(), nfd::FaceTable::get(), ndn::nfd::ControlParameters::getCost(), ndn::nfd::ControlParameters::getFaceId(), ndn::nfd::ControlParameters::getName(), ndn::TagHost::getTag(), nfd::fib::Entry::hasNextHops(), nfd::fib::Fib::insert(), NFD_LOG_DEBUG, NFD_LOG_INFO, NFD_LOG_TRACE, nfd::ManagerBase::registerStatusDatasetHandler(), nfd::fib::Entry::removeNextHop(), ndn::nfd::NextHopRecord::setCost(), ndn::nfd::NextHopRecord::setFaceId(), ndn::nfd::ControlParameters::setFaceId(), ndn::nfd::FibEntry::setPrefix(), ndn::nfd::ControlParameters::wireEncode(), and ndn::nfd::FibEntry::wireEncode().