26 #ifndef NFD_DAEMON_NFD_HPP 27 #define NFD_DAEMON_NFD_HPP 31 #include <ndn-cxx/face.hpp> 32 #include <ndn-cxx/mgmt/dispatcher.hpp> 33 #include <ndn-cxx/net/network-monitor.hpp> 34 #include <ndn-cxx/security/key-chain.hpp> 41 class CommandAuthenticator;
42 class ForwarderStatusManager;
46 class StrategyChoiceManager;
58 class Nfd : noncopyable
64 Nfd(
const std::string& configFile, ndn::KeyChain& keyChain);
98 Nfd(ndn::KeyChain& keyChain);
104 initializeManagement();
107 reloadConfigFileFaceSection();
110 std::string m_configFile;
113 unique_ptr<FaceTable> m_faceTable;
114 unique_ptr<face::FaceSystem> m_faceSystem;
115 unique_ptr<Forwarder> m_forwarder;
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
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 the NFD instance.