26 #ifndef NFD_TOOLS_NDN_AUTOCONFIG_MULTICAST_DISCOVERY_HPP
27 #define NFD_TOOLS_NDN_AUTOCONFIG_MULTICAST_DISCOVERY_HPP
30 #include <ndn-cxx/face.hpp>
31 #include <ndn-cxx/mgmt/nfd/controller.hpp>
32 #include <ndn-cxx/mgmt/nfd/face-status.hpp>
59 static const std::string STAGE_NAME(
"multicast discovery");
68 registerHubDiscoveryPrefix(const std::vector<
nfd::FaceStatus>& dataset);
81 nfd::Controller& m_controller;
84 int m_nRegSuccess = 0;
85 int m_nRegFailure = 0;
Multicast discovery stage.
const std::string & getName() const final
Get stage name.
MulticastDiscovery(Face &face, nfd::Controller &controller)