Class representing NRD (NFD RIB Manager) instance This class can be used to initialize all components of NRD. More...
#include <nrd.hpp>


Classes | |
| class | Error |
Public Member Functions | |
| Nrd (const std::string &configFile, ndn::KeyChain &keyChain) | |
Create NRD instance using absolute or relative path to configFile. More... | |
| Nrd (const ConfigSection &config, ndn::KeyChain &keyChain) | |
Create NRD instance using a parsed ConfigSection config This version of the constructor is more appropriate for integrated environments, such as NS-3 or android. More... | |
| ~Nrd () | |
| Destructor. More... | |
| void | initialize () |
| Perform initialization of NFD instance After initialization, NFD instance can be started by invoking run on globalIoService. More... | |
Class representing NRD (NFD RIB Manager) instance This class can be used to initialize all components of NRD.
| nfd::rib::Nrd::Nrd | ( | const std::string & | configFile, |
| ndn::KeyChain & | keyChain | ||
| ) |
Create NRD instance using absolute or relative path to configFile.
Definition at line 43 of file nrd.cpp.
Referenced by nfd::rib::Nrd::Error::Error().
| nfd::rib::Nrd::Nrd | ( | const ConfigSection & | config, |
| ndn::KeyChain & | keyChain | ||
| ) |
Create NRD instance using a parsed ConfigSection config This version of the constructor is more appropriate for integrated environments, such as NS-3 or android.
| nfd::rib::Nrd::~Nrd | ( | ) |
| void nfd::rib::Nrd::initialize | ( | ) |
Perform initialization of NFD instance After initialization, NFD instance can be started by invoking run on globalIoService.
Definition at line 63 of file nrd.cpp.
References nfd::getGlobalIoService(), nfd::ConfigFile::ignoreUnknownSection(), nfd::ConfigFile::parse(), nfd::rib::RibManager, and nfd::ConfigFile::throwErrorOnUnknownSection().
Referenced by nfd::rib::Nrd::Error::Error(), and nfd::NfdRunner::run().