dtn::ShutdownCommand Class Reference

CommandModule for the "shutdown" command. More...

#include <ShutdownCommand.h>

List of all members.

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_


Detailed Description

CommandModule for the "shutdown" command.

Definition at line 29 of file ShutdownCommand.h.


Constructor & Destructor Documentation

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

Definition at line 28 of file ShutdownCommand.cc.


Member Function Documentation

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

Definition at line 35 of file ShutdownCommand.cc.

Referenced by exec().

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

Virtual from CommandModule.

Definition at line 42 of file ShutdownCommand.cc.

References call_exit(), and dtnserver_.


Member Data Documentation

Definition at line 41 of file ShutdownCommand.h.

Referenced by exec().


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

Generated on Fri Jan 30 09:27:03 2009 for DTN Reference Implementation by  doxygen 1.5.8