dtn::ShutdownCommand Class Reference

#include <ShutdownCommand.h>

Inheritance diagram for dtn::ShutdownCommand:

oasys::TclCommand oasys::Logger

List of all members.


Detailed Description

CommandModule for the "shutdown" command.

Definition at line 29 of file ShutdownCommand.h.


Public Member Functions

 ShutdownCommand (DTNServer *server, const char *cmd="shutdown")
virtual int exec (int argc, const char **argv, Tcl_Interp *interp)
 Virtual from CommandModule.

Static Protected Member Functions

static void call_exit (void *clientData)

Protected Attributes

DTNServerdtnserver_

Constructor & Destructor Documentation

ShutdownCommand::ShutdownCommand ( DTNServer server,
const char *  cmd = "shutdown" 
)

Definition at line 25 of file ShutdownCommand.cc.

References oasys::TclCommand::add_to_help().


Member Function Documentation

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

Virtual from CommandModule.

Reimplemented from oasys::TclCommand.

Definition at line 39 of file ShutdownCommand.cc.

References ShutdownCommand::call_exit(), and oasys::TclCommand::wrong_num_args().

void ShutdownCommand::call_exit ( void *  clientData  )  [static, protected]

Definition at line 32 of file ShutdownCommand.cc.

References oasys::TclCommandInterp::instance().


Member Data Documentation

DTNServer* dtn::ShutdownCommand::dtnserver_ [protected]

Definition at line 41 of file ShutdownCommand.h.


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