dtn::BundleCommand Class Reference

Debug command for hand manipulation of bundles. More...

#include <BundleCommand.h>

List of all members.

Classes

class  InjectOpts
 "bundle inject" command parameters/options More...

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.


Detailed Description

Debug command for hand manipulation of bundles.

Definition at line 27 of file BundleCommand.h.


Constructor & Destructor Documentation

dtn::BundleCommand::BundleCommand (  ) 

Definition at line 37 of file BundleCommand.cc.


Member Function Documentation

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

Virtual from CommandModule.

Definition at line 112 of file BundleCommand.cc.

References dtn::Bundle::app_acked_rcpt(), dtn::EndpointID::assign(), dtn::BundleList::begin(), buf, dtn::Bundle::bundleid(), dtn::EndpointID::c_str(), dtn::Bundle::creation_ts(), dtn::BundleCommand::BundleCommand::InjectOpts::custody_rcpt_, dtn::Bundle::custody_requested(), dtn::BundleCommand::BundleCommand::InjectOpts::custody_xfer_, dtn::BundleCommand::BundleCommand::InjectOpts::deletion_rcpt_, dtn::BundleCommand::BundleCommand::InjectOpts::delivery_rcpt_, dtn::Bundle::dest(), dtn::BundleList::end(), dtn::EVENTSRC_APP, dtn::BundleCommand::BundleCommand::InjectOpts::expiration_, dtn::BundleList::find(), dtn::BundleCommand::BundleCommand::InjectOpts::forward_rcpt_, dtn::RegistrationTable::get(), info, interval, dtn::EndpointID::is_singleton(), dtn::EndpointID::is_singleton_default_, dtn::EndpointID::known_scheme(), len, dtn::BundlePayload::length(), dtn::BundleCommand::BundleCommand::InjectOpts::length_, dtn::BundleList::lock(), dtn::EndpointID::MULTINODE, dtn::Bundle::mutable_custodian(), dtn::Bundle::mutable_dest(), dtn::Bundle::mutable_payload(), dtn::Bundle::mutable_replyto(), dtn::Bundle::mutable_source(), dtn::CompletionNotifier::notifier(), dtn::EndpointID::NULL_EID(), dtn::TclRegistration::parse_bundle_data(), parse_inject_options(), dtn::Bundle::payload(), dtn::BundleDaemon::post(), dtn::BundleDaemon::post_and_wait(), dtn::Bundle::receipt_requested(), dtn::BundleCommand::BundleCommand::InjectOpts::receive_rcpt_, dtn::BundleCommand::BundleCommand::InjectOpts::replyto_, dtn::BundleTimestamp::seconds_, dtn::BundleTimestamp::seqno_, dtn::Bundle::set_custody_rcpt(), dtn::Bundle::set_custody_requested(), dtn::BundlePayload::set_data(), dtn::Bundle::set_deletion_rcpt(), dtn::Bundle::set_delivery_rcpt(), dtn::Bundle::set_do_not_fragment(), dtn::Bundle::set_expiration(), dtn::Bundle::set_forward_rcpt(), dtn::BundlePayload::set_length(), dtn::Bundle::set_receive_rcpt(), dtn::Bundle::set_singleton_dest(), dtn::EndpointID::SINGLETON, dtn::BundleList::size(), dtn::Bundle::source(), dtn::EndpointID::str(), dtn::EndpointID::UNKNOWN, dtn::EndpointID::uri(), dtn::Bundle::validate(), and dtn::BundlePayload::write_data().

Referenced by dtnsim::NodeCommand::exec().

bool dtn::BundleCommand::parse_inject_options ( InjectOpts options,
int  objc,
Tcl_Obj **  objv,
const char **  invalidp 
) [private]


The documentation for this class was generated from the following files:

Generated on Fri Jan 30 09:43:14 2009 for DTN Reference Implementation by  doxygen 1.5.8