26 #ifndef NFD_TOOLS_NDN_AUTOCONFIG_PROCEDURE_HPP 27 #define NFD_TOOLS_NDN_AUTOCONFIG_PROCEDURE_HPP 30 #include <ndn-cxx/face.hpp> 31 #include <ndn-cxx/mgmt/nfd/controller.hpp> 32 #include <ndn-cxx/security/key-chain.hpp> 36 namespace autoconfig {
40 std::string
ndnFchUrl =
"http://ndn-fch.named-data.net";
46 Procedure(Face& face, KeyChain& keyChain);
52 initialize(
const Options& options);
59 boost::asio::io_service&
62 return m_face.getIoService();
67 makeStages(
const Options& options);
70 connect(
const FaceUri& hubFaceUri);
73 registerPrefixes(uint64_t hubFaceId,
size_t index = 0);
83 std::vector<unique_ptr<Stage>> m_stages;
88 nfd::Controller m_controller;
95 #endif // NFD_TOOLS_NDN_AUTOCONFIG_PROCEDURE_HPP Copyright (c) 2014-2017, Regents of the University of California, Arizona Board of Regents...
#define PROTECTED_WITH_TESTS_ELSE_PRIVATE
#define VIRTUAL_WITH_TESTS