#include <errno.h>
#include <oasys/debug/Log.h>
#include <oasys/io/NetUtils.h>
#include <oasys/tclcmd/ConsoleCommand.h>
#include <oasys/tclcmd/TclCommand.h>
#include <oasys/util/Getopt.h>
#include <oasys/util/OptParser.h>
#include <dtn_api.h>
#include <dtn_ipc.h>
#include <APIEndpointIDOpt.h>
Go to the source code of this file.
Classes | |
struct | State |
class | DTNOpenCommand |
struct | DTNOpenCommand::OpenOpts |
class | DTNCloseCommand |
class | DTNRegisterCommand |
struct | DTNRegisterCommand::RegistrationOpts |
class | DTNUnregisterCommand |
class | DTNSendCommand |
struct | DTNSendCommand::SendOpts |
class | DTNBindCommand |
class | DTNUnbindCommand |
class | DTNRecvCommand |
struct | DTNRecvCommand::RecvOpts |
class | ShutdownCommand |
Typedefs | |
typedef std::map< int, dtn_handle_t > | HandleMap |
Functions | |
int | main (int argc, char **argv) |
Variables | |
int | dtnipc_version |
oasys::EnumOpt::Case | FailureActionCases [] |
oasys::EnumOpt::Case | PriorityCases [] |
typedef std::map<int, dtn_handle_t> HandleMap |
Definition at line 51 of file dtntest.cc.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 637 of file dtntest.cc.
References oasys::Getopt::addopt(), oasys::ConsoleCommand::addr_, oasys::TclCommandInterp::command_server(), daemon(), oasys::TclCommandInterp::exec_file(), oasys::Getopt::getopt(), oasys::TclCommandInterp::init(), oasys::Log::init(), oasys::TclCommandInterp::instance(), intoa, log_notice, oasys::ConsoleCommand::port_, oasys::ConsoleCommand::prompt_, oasys::TclCommandInterp::reg(), oasys::Log::shutdown(), oasys::TclCommandInterp::shutdown(), oasys::ConsoleCommand::stdio_, and oasys::Getopt::usage().
int dtnipc_version |
Initial value:
{ {"drop", DTN_REG_DROP}, {"defer", DTN_REG_DEFER}, {"exec", DTN_REG_EXEC}, {0, 0} }
Definition at line 149 of file dtntest.cc.
Referenced by DTNRegisterCommand::DTNRegisterCommand().
Initial value:
{ {"bulk", COS_BULK}, {"normal", COS_NORMAL}, {"expedited", COS_EXPEDITED}, {0, 0} }
Definition at line 289 of file dtntest.cc.
Referenced by DTNSendCommand::DTNSendCommand().