26 #ifndef NFD_TOOLS_NFDC_LEGACY_NFDC_HPP
27 #define NFD_TOOLS_NFDC_LEGACY_NFDC_HPP
30 #include <ndn-cxx/mgmt/nfd/controller.hpp>
42 class Error :
public std::runtime_error
47 :
std::runtime_error(what)
143 onSuccess(
const ndn::nfd::ControlParameters& commandSuccessResult,
144 const std::string& message);
147 onError(
const ndn::nfd::ControlResponse& response,
const std::string& message);
150 onCanonizeFailure(
const std::string& reason);
153 startFaceCreate(
const ndn::util::FaceUri& canonicalUri);
156 onObtainFaceIdFailure(
const std::string& message);
170 ndn::nfd::Controller m_controller;
183 #endif // NFD_TOOLS_NFDC_LEGACY_NFDC_HPP
context for command execution
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...