#include <BundleCommand.h>
Definition at line 27 of file BundleCommand.h.
Public Member Functions | |
BundleCommand () | |
virtual int | exec (int objc, Tcl_Obj **objv, Tcl_Interp *interp) |
Virtual from CommandModule. | |
Private Member Functions | |
bool | parse_inject_options (InjectOpts *options, int objc, Tcl_Obj **objv, const char **invalidp) |
Parse the "bundle inject" command line options. | |
Classes | |
class | InjectOpts |
"bundle inject" command parameters/options More... |
dtn::BundleCommand::BundleCommand | ( | ) |
int dtn::BundleCommand::exec | ( | int | objc, | |
Tcl_Obj ** | objv, | |||
Tcl_Interp * | interp | |||
) | [virtual] |
Virtual from CommandModule.
Reimplemented from oasys::TclCommand.
Definition at line 101 of file BundleCommand.cc.
References oasys::StringBuffer::append(), oasys::StringBuffer::appendf(), dtn::EndpointID::assign(), dtn::BundleList::begin(), dtn::Bundle::bundleid_, oasys::StringBuffer::c_str(), dtn::EndpointID::c_str(), dtn::Bundle::creation_ts_, dtn::Bundle::custodian_, dtn::BundleCommand::InjectOpts::custody_rcpt_, dtn::Bundle::custody_rcpt_, dtn::Bundle::custody_requested_, dtn::BundleCommand::InjectOpts::custody_xfer_, oasys::StringBuffer::data(), dtn::BundleCommand::InjectOpts::deletion_rcpt_, dtn::Bundle::deletion_rcpt_, dtn::BundleCommand::InjectOpts::delivery_rcpt_, dtn::Bundle::delivery_rcpt_, dtn::Bundle::dest_, dtn::BundleList::end(), dtn::EVENTSRC_APP, dtn::BundleCommand::InjectOpts::expiration_, dtn::Bundle::expiration_, dtn::BundleList::find(), dtn::BundleCommand::InjectOpts::forward_rcpt_, dtn::Bundle::forward_rcpt_, oasys::HexDumpBuffer::hexify(), ExamineDump::l, dtn::BundlePayload::length(), dtn::BundleCommand::InjectOpts::length_, dtn::BundleList::lock(), log_debug, dtn::CompletionNotifier::notifier(), dtn::EndpointID::NULL_EID(), oasys::Ref< _Type >::object(), dtn::TclRegistration::parse_bundle_data(), parse_inject_options(), dtn::Bundle::payload_, dtn::BundleDaemon::post(), dtn::BundleDaemon::post_and_wait(), dtn::BundleCommand::InjectOpts::receive_rcpt_, dtn::Bundle::receive_rcpt_, dtn::BundleCommand::InjectOpts::replyto_, dtn::Bundle::replyto_, oasys::TclCommand::resultf(), dtn::BundleTimestamp::seconds_, dtn::BundleTimestamp::seqno_, dtn::BundlePayload::set_data(), dtn::BundlePayload::set_length(), oasys::TclCommand::set_objresult(), oasys::TclCommand::set_result(), dtn::BundleList::size(), dtn::Bundle::source_, dtn::Bundle::validate(), dtn::BundlePayload::write_data(), and oasys::TclCommand::wrong_num_args().
bool dtn::BundleCommand::parse_inject_options | ( | InjectOpts * | options, | |
int | objc, | |||
Tcl_Obj ** | objv, | |||
const char ** | invalidp | |||
) | [private] |
Parse the "bundle inject" command line options.
Definition at line 68 of file BundleCommand.cc.
References oasys::OptParser::addopt(), dtn::BundleCommand::InjectOpts::custody_rcpt_, dtn::BundleCommand::InjectOpts::custody_xfer_, dtn::BundleCommand::InjectOpts::deletion_rcpt_, dtn::BundleCommand::InjectOpts::delivery_rcpt_, dtn::BundleCommand::InjectOpts::expiration_, dtn::BundleCommand::InjectOpts::forward_rcpt_, dtn::BundleCommand::InjectOpts::length_, oasys::OptParser::parse_opt(), dtn::BundleCommand::InjectOpts::receive_rcpt_, and dtn::BundleCommand::InjectOpts::replyto_.
Referenced by exec().