Table of Contents
DTN2 src walk
DTN2 Discovery
Starting point DTND::main()
DTND::main(...)
{
...
DTNServer* dtnserver = new...
APIServer* apiserver = new...
dtnserver->init();
...
dtnserver->parse_conf_file(conf_file_, conf_file_set_)
...
dtnserver->start();
}
DTNServer::init()
init_command() inits all possible commands which can be used to execute commands in config file.
DTNServer::init()
{
init_command();
init_component();
}
DTNServer::parse_conf_file()
Parseconffile uses the created tcl commands to execute commands in conf file.