26 #ifndef NFD_TOOLS_NFDC_EXECUTE_COMMAND_HPP
27 #define NFD_TOOLS_NFDC_EXECUTE_COMMAND_HPP
31 #include <ndn-cxx/face.hpp>
32 #include <ndn-cxx/mgmt/nfd/command-options.hpp>
33 #include <ndn-cxx/mgmt/nfd/controller.hpp>
34 #include <ndn-cxx/mgmt/nfd/control-command.hpp>
35 #include <ndn-cxx/mgmt/nfd/control-parameters.hpp>
36 #include <ndn-cxx/mgmt/nfd/control-response.hpp>
37 #include <ndn-cxx/security/key-chain.hpp>
44 using ndn::nfd::ControlParameters;
45 using ndn::nfd::ControlResponse;
55 ndn::time::nanoseconds
58 ndn::nfd::CommandOptions
64 ndn::nfd::CommandFailureCallback
70 ndn::nfd::DatasetFailureCallback
Context for command execution.
std::ostream & out
output stream
ndn::nfd::DatasetFailureCallback makeDatasetFailureHandler(const std::string &datasetName)
ndn::nfd::Controller & controller
const CommandArguments & args
ndn::nfd::CommandFailureCallback makeCommandFailureHandler(const std::string &commandName)
int exitCode
program exit code
ndn::nfd::CommandOptions makeCommandOptions() const
std::ostream & err
error stream
ndn::time::nanoseconds getTimeout() const