26 #ifndef NFD_DAEMON_NFD_HPP 27 #define NFD_DAEMON_NFD_HPP 32 #include <ndn-cxx/net/network-monitor.hpp> 33 #include <ndn-cxx/security/key-chain.hpp> 45 class CommandAuthenticator;
48 class ForwarderStatusManager;
52 class StrategyChoiceManager;
63 class Nfd : noncopyable
69 Nfd(
const std::string& configFile, ndn::KeyChain& keyChain);
100 Nfd(ndn::KeyChain& keyChain);
106 initializeManagement();
109 reloadConfigFileFaceSection();
112 std::string m_configFile;
115 unique_ptr<Forwarder> m_forwarder;
116 unique_ptr<face::FaceSystem> m_faceSystem;
118 ndn::KeyChain& m_keyChain;
119 shared_ptr<face::Face> m_internalFace;
120 shared_ptr<ndn::Face> m_internalClientFace;
121 unique_ptr<ndn::mgmt::Dispatcher> m_dispatcher;
122 shared_ptr<CommandAuthenticator> m_authenticator;
123 unique_ptr<ForwarderStatusManager> m_forwarderStatusManager;
124 unique_ptr<FaceManager> m_faceManager;
125 unique_ptr<FibManager> m_fibManager;
126 unique_ptr<CsManager> m_csManager;
127 unique_ptr<StrategyChoiceManager> m_strategyChoiceManager;
129 shared_ptr<ndn::net::NetworkMonitor> m_netmon;
130 scheduler::ScopedEventId m_reloadConfigEvent;
135 #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...