31 #ifndef NLSR_PUBLISHER_DATASET_INTEREST_HANDLER_HPP
32 #define NLSR_PUBLISHER_DATASET_INTEREST_HANDLER_HPP
40 #include <ndn-cxx/mgmt/dispatcher.hpp>
41 #include <ndn-cxx/face.hpp>
42 #include <boost/noncopyable.hpp>
59 class Error : std::runtime_error
64 : std::runtime_error(what)
77 setDispatcher(ndn::mgmt::Dispatcher& dispatcher);
82 publishRtStatus(
const ndn::Name& topPrefix,
const ndn::Interest& interest,
83 ndn::mgmt::StatusDatasetContext& context);
89 publishLsaStatus(
const ndn::Name& topPrefix,
const ndn::Interest& interest,
90 ndn::mgmt::StatusDatasetContext& context);
93 ndn::mgmt::Dispatcher& m_dispatcher;
Error(const std::string &what)
Class to publish all dataset.
DatasetInterestHandler(ndn::mgmt::Dispatcher &dispatcher, const Lsdb &lsdb, const RoutingTable &rt)
Copyright (c) 2014-2018, The University of Memphis, Regents of the University of California.
const ndn::Name::Component NAME_COMPONENT
const ndn::Name::Component COORDINATE_COMPONENT
const ndn::Name::Component ADJACENCY_COMPONENT
Copyright (c) 2014-2020, The University of Memphis, Regents of the University of California,...