Inheritance diagram for DTNRecvCommand:
Definition at line 519 of file dtntest.cc.
Public Member Functions | |
void | init_opts () |
DTNRecvCommand () | |
int | exec (int argc, const char **argv, Tcl_Interp *interp) |
Override this to parse the list of arguments as strings. | |
Public Attributes | |
oasys::OptParser | parser_ |
RecvOpts | opts_ |
Classes | |
struct | RecvOpts |
DTNRecvCommand::DTNRecvCommand | ( | ) | [inline] |
Definition at line 535 of file dtntest.cc.
References oasys::OptParser::addopt(), opts_, parser_, DTNRecvCommand::RecvOpts::payload_file_, DTNRecvCommand::RecvOpts::payload_mem_, and DTNRecvCommand::RecvOpts::timeout_.
void DTNRecvCommand::init_opts | ( | ) | [inline] |
int DTNRecvCommand::exec | ( | int | argc, | |
const char ** | argv, | |||
Tcl_Interp * | interp | |||
) | [inline, virtual] |
Override this to parse the list of arguments as strings.
argc | Argument count | |
argv | Argument values | |
interp | Tcl interpreter |
Reimplemented from oasys::TclCommand.
Definition at line 542 of file dtntest.cc.
References dtn_errno(), dtn_free_payload(), DTN_PAYLOAD_FILE, DTN_PAYLOAD_MEM, dtn_recv(), dtn_strerror(), DTN_SUCCESS, errno, init_opts(), log_err, opts_, oasys::OptParser::parse(), parser_, DTNRecvCommand::RecvOpts::payload_file_, DTNRecvCommand::RecvOpts::payload_mem_, oasys::TclCommand::resultf(), DTNRecvCommand::RecvOpts::timeout_, and oasys::TclCommand::wrong_num_args().