NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::rib::RibManager Class Reference

#include <rib-manager.hpp>

Inheritance diagram for nfd::rib::RibManager:
Collaboration diagram for nfd::rib::RibManager:

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 &parameters, 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...
 

Detailed Description

Definition at line 48 of file rib-manager.hpp.

Constructor & Destructor Documentation

◆ RibManager()

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().

◆ ~RibManager()

nfd::rib::RibManager::~RibManager ( )
overridedefault

Member Function Documentation

◆ registerWithNfd()

void nfd::rib::RibManager::registerWithNfd ( )

◆ enableLocalFields()

void nfd::rib::RibManager::enableLocalFields ( )

◆ setConfigFile()

void nfd::rib::RibManager::setConfigFile ( ConfigFile configFile)

Definition at line 108 of file rib-manager.cpp.

References nfd::ConfigFile::addSectionHandler().

◆ onRibUpdateSuccess()

void nfd::rib::RibManager::onRibUpdateSuccess ( const RibUpdate update)

Definition at line 115 of file rib-manager.cpp.

References NFD_LOG_DEBUG.

◆ onRibUpdateFailure()

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.


The documentation for this class was generated from the following files: