22 #ifndef NLSR_NLSR_RUNNER_HPP 23 #define NLSR_NLSR_RUNNER_HPP 27 #include <ndn-cxx/face.hpp> 28 #include <ndn-cxx/util/scheduler.hpp> 31 #include <boost/asio.hpp> 47 class Error :
public std::runtime_error
52 :
std::runtime_error(what)
79 boost::asio::io_service m_ioService;
80 ndn::Scheduler m_scheduler;
82 ndn::KeyChain m_keyChain;
88 #endif // NLSR_NLSR_RUNNER_HPP Error(const std::string &what)
A wrapper class to instantiate and configure an NLSR object.
NlsrRunner(std::string &configFileName)
Copyright (c) 2014-2018, The University of Memphis, Regents of the University of California, Arizona Board of Regents.
void run()
Instantiate, configure, and start the NLSR process.
static void printUsage(const std::string &programName)