26 #ifndef NFD_DAEMON_NFD_HPP 27 #define NFD_DAEMON_NFD_HPP 31 #include <ndn-cxx/net/network-monitor.hpp> 32 #include <ndn-cxx/security/key-chain.hpp> 44 class CommandAuthenticator;
47 class ForwarderStatusManager;
51 class StrategyChoiceManager;
62 class Nfd : noncopyable
68 Nfd(
const std::string& configFile, ndn::KeyChain& keyChain);
99 Nfd(ndn::KeyChain& keyChain);
105 initializeManagement();
108 reloadConfigFileFaceSection();
111 std::string m_configFile;
114 unique_ptr<Forwarder> m_forwarder;
115 unique_ptr<face::FaceSystem> m_faceSystem;
117 ndn::KeyChain& m_keyChain;
118 shared_ptr<face::Face> m_internalFace;
119 shared_ptr<ndn::Face> m_internalClientFace;
120 unique_ptr<ndn::mgmt::Dispatcher> m_dispatcher;
121 shared_ptr<CommandAuthenticator> m_authenticator;
122 unique_ptr<ForwarderStatusManager> m_forwarderStatusManager;
123 unique_ptr<FaceManager> m_faceManager;
124 unique_ptr<FibManager> m_fibManager;
125 unique_ptr<CsManager> m_csManager;
126 unique_ptr<StrategyChoiceManager> m_strategyChoiceManager;
128 shared_ptr<ndn::net::NetworkMonitor> m_netmon;
129 scheduler::ScopedEventId m_reloadConfigEvent;
134 #endif // NFD_DAEMON_NFD_HPP
Copyright (c) 2014-2017, Regents of the University of California, Arizona Board of Regents...
boost::property_tree::ptree ConfigSection
a config file section
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
Class representing NFD instance This class can be used to initialize all components of NFD...