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 StrategyChoiceManager;
49 class ForwarderStatusManager;
60 class Nfd : noncopyable
66 Nfd(
const std::string& configFile, ndn::KeyChain& keyChain);
97 Nfd(ndn::KeyChain& keyChain);
103 initializeManagement();
106 reloadConfigFileFaceSection();
109 std::string m_configFile;
112 unique_ptr<Forwarder> m_forwarder;
113 unique_ptr<face::FaceSystem> m_faceSystem;
115 ndn::KeyChain& m_keyChain;
116 shared_ptr<face::Face> m_internalFace;
117 shared_ptr<ndn::Face> m_internalClientFace;
118 unique_ptr<ndn::mgmt::Dispatcher> m_dispatcher;
119 shared_ptr<CommandAuthenticator> m_authenticator;
120 unique_ptr<ForwarderStatusManager> m_forwarderStatusManager;
121 unique_ptr<FaceManager> m_faceManager;
122 unique_ptr<FibManager> m_fibManager;
123 unique_ptr<StrategyChoiceManager> m_strategyChoiceManager;
125 shared_ptr<ndn::net::NetworkMonitor> m_netmon;
131 #endif // NFD_DAEMON_NFD_HPP
Copyright (c) 2014-2017, Regents of the University of California, Arizona Board of Regents...
cancels an event automatically upon destruction
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
boost::property_tree::ptree ConfigSection
a config file section
Class representing NFD instance This class can be used to initialize all components of NFD...