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)
57 NlsrRunner(std::string& configFileName,
bool isDaemonProcess);
78 boost::asio::io_service m_ioService;
79 ndn::Scheduler m_scheduler;
81 ndn::KeyChain m_keyChain;
87 #endif // NLSR_NLSR_RUNNER_HPP Error(const std::string &what)
A wrapper class to instantiate and configure an NLSR object.
NlsrRunner(std::string &configFileName, bool isDaemonProcess)
Copyright (c) 2014-2017, 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)