Executes NFD with RIB manager. More...


Public Member Functions | |
| NfdRunner (const std::string &configFile) | |
| void | initialize () |
| int | run () |
Static Public Member Functions | |
| static void | systemdNotify (const char *state) |
Executes NFD with RIB manager.
NFD (main forwarding procedure) and RIB manager execute in two different threads. Each thread has its own instances of global io_service and global scheduler.
When either of the daemons fails, execution of non-failed daemon will be terminated as well. In other words, when NFD fails, RIB manager will be terminated; when RIB manager fails, NFD will be terminated.
|
inlineexplicit |
|
inline |
|
inline |
Definition at line 104 of file main.cpp.
References nfd::getExtendedErrorMessage(), nfd::getGlobalIoService(), NFD_LOG_FATAL, systemdNotify(), and nfd::PrivilegeHelper::Error::what().
Referenced by main().
|
inlinestatic |