#include <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 | |
| DTNServer * | dtnserver_ |
Definition at line 29 of file ShutdownCommand.h.
| ShutdownCommand::ShutdownCommand | ( | DTNServer * | server, | |
| const char * | cmd = "shutdown" | |||
| ) |
Definition at line 28 of file ShutdownCommand.cc.
| void ShutdownCommand::call_exit | ( | void * | clientData | ) | [static, protected] |
| 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_.
DTNServer* dtn::ShutdownCommand::dtnserver_ [protected] |
1.5.8