26 #ifndef NFD_TOOLS_NDN_AUTOCONFIG_SERVER_PROGRAM_HPP
27 #define NFD_TOOLS_NDN_AUTOCONFIG_SERVER_PROGRAM_HPP
29 #include <ndn-cxx/face.hpp>
30 #include <ndn-cxx/mgmt/dispatcher.hpp>
31 #include <ndn-cxx/net/face-uri.hpp>
32 #include <ndn-cxx/security/key-chain.hpp>
50 m_face.processEvents();
55 enableHubData(
const FaceUri& hubFaceUri);
58 enableRoutablePrefixesDataset(
const std::vector<Name>& routablePrefixes);
61 handlePrefixRegistrationFailure(
const Name& prefix,
const std::string& reason);
66 mgmt::Dispatcher m_dispatcher;
Program(const Options &options, Face &face, KeyChain &keyChain)
std::vector< Name > routablePrefixes