dtn::BundleCommand Class Reference

#include <BundleCommand.h>

Inheritance diagram for dtn::BundleCommand:

oasys::TclCommand oasys::Logger List of all members.

Detailed Description

Debug command for hand manipulation of bundles.

Definition at line 48 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...


Constructor & Destructor Documentation

dtn::BundleCommand::BundleCommand (  ) 

Definition at line 52 of file BundleCommand.cc.

References oasys::TclCommand::add_to_help().


Member Function Documentation

int dtn::BundleCommand::exec ( int  objc,
Tcl_Obj **  objv,
Tcl_Interp *  interp 
) [virtual]

Virtual from CommandModule.

Reimplemented from oasys::TclCommand.

Definition at line 121 of file BundleCommand.cc.

References oasys::StringBuffer::append(), dtn::BundlePayload::append_data(), oasys::StringBuffer::appendf(), dtn::EndpointID::assign(), dtn::BundleList::begin(), dtn::Bundle::bundleid_, oasys::StringBuffer::c_str(), dtn::EndpointID::c_str(), dtn::BundlePayload::close_file(), 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_, dtn::BundleDaemon::get_bundle_stats(), dtn::BundleDaemon::get_daemon_stats(), oasys::HexDumpBuffer::hexify(), dtn::BundleDaemon::instance(), ExamineDump::l, dtn::BundlePayload::length(), dtn::BundleCommand::InjectOpts::length_, dtn::BundleList::lock(), log_debug, dtn::CompletionNotifier::notifier(), dtn::EndpointID::NULL_EID(), dtn::TclRegistration::parse_bundle_data(), parse_inject_options(), dtn::Bundle::payload_, dtn::BundleDaemon::pending_bundles(), dtn::BundleDaemon::post(), dtn::BundleDaemon::post_and_wait(), dtn::BundleCommand::InjectOpts::receive_rcpt_, dtn::Bundle::receive_rcpt_, dtn::BundleCommand::InjectOpts::replyto_, dtn::Bundle::replyto_, dtn::BundleDaemon::reset_stats(), oasys::TclCommand::resultf(), 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 88 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().


The documentation for this class was generated from the following files:
Generated on Fri Dec 22 14:48:03 2006 for DTN Reference Implementation by  doxygen 1.5.1