Inheritance diagram for DTNSendCommand:
Definition at line 275 of file dtntest.cc.
Public Member Functions | |
void | init_opts () |
DTNSendCommand () | |
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_ |
SendOpts | opts_ |
Classes | |
struct | SendOpts |
DTNSendCommand::DTNSendCommand | ( | ) | [inline] |
Definition at line 309 of file dtntest.cc.
References oasys::OptParser::addopt(), DTNSendCommand::SendOpts::block_content_, DTNSendCommand::SendOpts::block_content_len_, DTNSendCommand::SendOpts::block_flags_, DTNSendCommand::SendOpts::block_type_, DTNSendCommand::SendOpts::custody_rcpt_, DTNSendCommand::SendOpts::custody_xfer_, DTNSendCommand::SendOpts::deletion_rcpt_, DTNSendCommand::SendOpts::delivery_rcpt_, DTNSendCommand::SendOpts::dest_, DTNSendCommand::SendOpts::expiration_, DTNSendCommand::SendOpts::forward_rcpt_, opts_, parser_, DTNSendCommand::SendOpts::payload_data_, DTNSendCommand::SendOpts::payload_data_len_, DTNSendCommand::SendOpts::payload_file_, DTNSendCommand::SendOpts::payload_file_len_, DTNSendCommand::SendOpts::priority_, PriorityCases, DTNSendCommand::SendOpts::receive_rcpt_, DTNSendCommand::SendOpts::replyto_, and DTNSendCommand::SendOpts::source_.
void DTNSendCommand::init_opts | ( | ) | [inline] |
int DTNSendCommand::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 346 of file dtntest.cc.
References DTNSendCommand::SendOpts::block_content_, DTNSendCommand::SendOpts::block_content_len_, DTNSendCommand::SendOpts::block_flags_, DTNSendCommand::SendOpts::block_type_, DTNSendCommand::SendOpts::custody_rcpt_, DTNSendCommand::SendOpts::custody_xfer_, DTNSendCommand::SendOpts::deletion_rcpt_, DTNSendCommand::SendOpts::delivery_rcpt_, DTNSendCommand::SendOpts::dest_, DOPTS_CUSTODY, DOPTS_CUSTODY_RCPT, DOPTS_DELETE_RCPT, DOPTS_DELIVERY_RCPT, DOPTS_FORWARD_RCPT, DOPTS_RECEIVE_RCPT, dtn_copy_eid(), dtn_errno(), DTN_PAYLOAD_FILE, DTN_PAYLOAD_MEM, dtn_send(), dtn_set_payload(), dtn_strerror(), DTN_SUCCESS, DTNSendCommand::SendOpts::expiration_, DTNSendCommand::SendOpts::forward_rcpt_, init_opts(), opts_, oasys::OptParser::parse(), parser_, DTNSendCommand::SendOpts::payload_data_, DTNSendCommand::SendOpts::payload_data_len_, DTNSendCommand::SendOpts::payload_file_, DTNSendCommand::SendOpts::payload_file_len_, DTNSendCommand::SendOpts::priority_, DTNSendCommand::SendOpts::receive_rcpt_, DTNSendCommand::SendOpts::replyto_, oasys::TclCommand::resultf(), DTNSendCommand::SendOpts::source_, dtn_endpoint_id_t::uri, and oasys::TclCommand::wrong_num_args().