61 Service(
const std::string& configFile, ndn::KeyChain& keyChain);
92 template<
typename ConfigParseFunc>
93 Service(ndn::KeyChain& keyChain, shared_ptr<ndn::Transport> localNfdTransport,
94 const ConfigParseFunc& configParse);
97 processConfig(
const ConfigSection& section,
bool isDryRun,
const std::string& filename);
100 checkConfig(
const ConfigSection& section,
const std::string& filename);
103 applyConfig(
const ConfigSection& section,
const std::string& filename);
106 static inline Service* s_instance =
nullptr;
108 ndn::KeyChain& m_keyChain;
110 ndn::nfd::Controller m_nfdController;
114 unique_ptr<Readvertise> m_readvertiseNlsr;
115 unique_ptr<Readvertise> m_readvertisePropagation;
116 ndn::mgmt::Dispatcher m_dispatcher;