#include <DiscoveryCommand.h>
Inheritance diagram for dtn::DiscoveryCommand:
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. |
dtn::DiscoveryCommand::DiscoveryCommand | ( | ) |
int dtn::DiscoveryCommand::exec | ( | int | argc, | |
const char ** | argv, | |||
Tcl_Interp * | interp | |||
) | [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 44 of file DiscoveryCommand.cc.
References add(), 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().