26 #ifndef NFD_DAEMON_NFD_HPP
27 #define NFD_DAEMON_NFD_HPP
32 #include <ndn-cxx/security/key-chain.hpp>
33 #include <ndn-cxx/util/network-monitor.hpp>
45 class CommandAuthenticator;
48 class StrategyChoiceManager;
49 class ForwarderStatusManager;
59 class Nfd : noncopyable
65 Nfd(
const std::string& configFile, ndn::KeyChain& keyChain);
99 initializeManagement();
102 reloadConfigFileFaceSection();
105 std::string m_configFile;
108 unique_ptr<Forwarder> m_forwarder;
110 ndn::KeyChain& m_keyChain;
111 shared_ptr<face::Face> m_internalFace;
112 shared_ptr<ndn::Face> m_internalClientFace;
113 unique_ptr<ndn::mgmt::Dispatcher> m_dispatcher;
114 shared_ptr<CommandAuthenticator> m_authenticator;
115 unique_ptr<ForwarderStatusManager> m_forwarderStatusManager;
116 unique_ptr<FaceManager> m_faceManager;
117 unique_ptr<FibManager> m_fibManager;
118 unique_ptr<StrategyChoiceManager> m_strategyChoiceManager;
120 unique_ptr<ndn::util::NetworkMonitor> m_networkMonitor;
126 #endif // NFD_DAEMON_NFD_HPP
Copyright (c) 2014-2016, Regents of the University of California, Arizona Board of Regents...
cancels an event automatically upon destruction
void reloadConfigFile()
Reload configuration file and apply update (if any)
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
Nfd(const std::string &configFile, ndn::KeyChain &keyChain)
Create NFD instance using absolute or relative path to configFile.
boost::property_tree::ptree ConfigSection
a config file section
void initialize()
Perform initialization of NFD instance After initialization, NFD instance can be started by invoking ...
Class representing NFD instance This class can be used to initialize all components of NFD...