dtn::DiscoveryCommand Class Reference

#include <DiscoveryCommand.h>

Inheritance diagram for dtn::DiscoveryCommand:

oasys::TclCommand oasys::Logger

List of all members.


Detailed Description

Definition at line 24 of file DiscoveryCommand.h.


Public Member Functions

 DiscoveryCommand ()
virtual int exec (int argc, const char **argv, Tcl_Interp *interp)
 Override this to parse the list of arguments as strings.

Constructor & Destructor Documentation

dtn::DiscoveryCommand::DiscoveryCommand (  ) 

Definition at line 25 of file DiscoveryCommand.cc.

References oasys::TclCommand::add_to_help().


Member Function Documentation

int dtn::DiscoveryCommand::exec ( int  argc,
const char **  argv,
Tcl_Interp *  interp 
) [virtual]

Override this to parse the list of arguments as strings.

Parameters:
argc Argument count
argv Argument values
interp Tcl interpreter
Returns:
0 on success, -1 on error

Reimplemented from oasys::TclCommand.

Definition at line 44 of file DiscoveryCommand.cc.

References dtn::Discovery::announce(), oasys::StringBuffer::c_str(), oasys::TclCommand::name(), dtn::Discovery::remove(), oasys::TclCommand::resultf(), oasys::TclCommand::set_result(), and oasys::TclCommand::wrong_num_args().


The documentation for this class was generated from the following files:
Generated on Sat Sep 8 08:43:45 2007 for DTN Reference Implementation by  doxygen 1.5.3