31 #ifndef NLSR_PUBLISHER_DATASET_INTEREST_HANDLER_HPP
32 #define NLSR_PUBLISHER_DATASET_INTEREST_HANDLER_HPP
39 #include <ndn-cxx/face.hpp>
40 #include <ndn-cxx/mgmt/dispatcher.hpp>
41 #include <boost/noncopyable.hpp>
59 class Error : std::runtime_error
62 using std::runtime_error::runtime_error;
73 publishRtStatus(
const ndn::Name& topPrefix,
const ndn::Interest& interest,
74 ndn::mgmt::StatusDatasetContext& context);
80 publishLsaStatus(
const ndn::Name& topPrefix,
const ndn::Interest& interest,
81 ndn::mgmt::StatusDatasetContext& context);
Class to publish all dataset.
DatasetInterestHandler(ndn::mgmt::Dispatcher &dispatcher, const Lsdb &lsdb, const RoutingTable &rt)
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.