Thin class that implements the daemon itself. More...
Public Member Functions | |
DTND () | |
int | main (int argc, char *argv[]) |
Protected Member Functions | |
void | fill_options () |
void | init_testcmd (int argc, char *argv[]) |
void | run_console () |
Protected Attributes | |
TestCommand * | testcmd_ |
oasys::ConsoleCommand * | consolecmd_ |
DTNStorageConfig | storage_config_ |
Thin class that implements the daemon itself.
Definition at line 50 of file dtnd.cc.
dtn::DTND::DTND | ( | ) |
Definition at line 68 of file dtnd.cc.
References consolecmd_, storage_config_, and testcmd_.
void dtn::DTND::fill_options | ( | ) | [protected] |
Definition at line 90 of file dtnd.cc.
References consolecmd_, dtn::TestCommand::id_, storage_config_, and testcmd_.
void dtn::DTND::init_testcmd | ( | int | argc, | |
char * | argv[] | |||
) | [protected] |
Definition at line 117 of file dtnd.cc.
References dtn::TestCommand::argv_, dtn::TestCommand::bind_vars(), and testcmd_.
Referenced by main().
int dtn::DTND::main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 152 of file dtnd.cc.
References dtn::DTNServer::close_datastore(), consolecmd_, dtn::APIServer::enabled(), dtn::DTNServer::init(), dtn::DTNServer::init_datastore(), init_testcmd(), dtn::TestCommand::initscript_, dtn::APIServer::local_addr(), dtn::APIServer::local_port(), log_err_p, dtn::EndpointID::NULL_EID(), dtn::DTNServer::parse_conf_file(), run_console(), dtn::DTNServer::shutdown(), dtn::DTNServer::start(), storage_config_, and testcmd_.
Referenced by main().
void dtn::DTND::run_console | ( | ) | [protected] |
oasys::ConsoleCommand* dtn::DTND::consolecmd_ [protected] |
Definition at line 57 of file dtnd.cc.
Referenced by DTND(), fill_options(), main(), and run_console().
DTNStorageConfig dtn::DTND::storage_config_ [protected] |
Definition at line 58 of file dtnd.cc.
Referenced by DTND(), fill_options(), and main().
TestCommand* dtn::DTND::testcmd_ [protected] |
Definition at line 56 of file dtnd.cc.
Referenced by DTND(), fill_options(), init_testcmd(), and main().