29 #include <ndn-cxx/mgmt/nfd/status-dataset.hpp>
35 const std::function<
void()>& onSuccess,
36 const ndn::nfd::DatasetFailureCallback& onFailure,
37 const CommandOptions& options)
39 controller.fetch<ndn::nfd::ChannelDataset>(
40 [
this, onSuccess] (
const std::vector<ChannelStatus>& result) {
51 for (
const ChannelStatus& item : m_status) {
61 os <<
"<localUri>" <<
xml::Text{item.getLocalUri()} <<
"</localUri>";
69 for (
const ChannelStatus& item : m_status) {
77 os <<
" " << item.getLocalUri();