<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>DTN Reference Implementation: dtn::ShutdownCommand Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespacedtn.html">dtn</a>::<a class="el" href="classdtn_1_1ShutdownCommand.html">ShutdownCommand</a> </div> </div> <div class="contents"> <h1>dtn::ShutdownCommand Class Reference</h1><!-- doxytag: class="dtn::ShutdownCommand" --><code>#include <<a class="el" href="ShutdownCommand_8h-source.html">ShutdownCommand.h</a>></code> <p> <p> <a href="classdtn_1_1ShutdownCommand-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> CommandModule for the "shutdown" command. <p>Definition at line <a class="el" href="ShutdownCommand_8h-source.html#l00029">29</a> of file <a class="el" href="ShutdownCommand_8h-source.html">ShutdownCommand.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ShutdownCommand.html#7c5d834c056f5c0bf0720f28ea82ff8b">ShutdownCommand</a> (<a class="el" href="classdtn_1_1DTNServer.html">DTNServer</a> *server, const char *cmd="shutdown")</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ShutdownCommand.html#e8e51320544929f8e5529d5de52bf4b3">exec</a> (int argc, const char **argv, Tcl_Interp *interp)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Virtual from CommandModule. <a href="#e8e51320544929f8e5529d5de52bf4b3"></a><br></td></tr> <tr><td colspan="2"><br><h2>Static Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ShutdownCommand.html#f3b89f97d2bc4e4dbaa54549ea6bdbbe">call_exit</a> (void *clientData)</td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classdtn_1_1DTNServer.html">DTNServer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ShutdownCommand.html#a88ad6361d48c6da3140aadf8f527ec3">dtnserver_</a></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="7c5d834c056f5c0bf0720f28ea82ff8b"></a><!-- doxytag: member="dtn::ShutdownCommand::ShutdownCommand" ref="7c5d834c056f5c0bf0720f28ea82ff8b" args="(DTNServer *server, const char *cmd="shutdown")" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">ShutdownCommand::ShutdownCommand </td> <td>(</td> <td class="paramtype"><a class="el" href="classdtn_1_1DTNServer.html">DTNServer</a> * </td> <td class="paramname"> <em>server</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"> <em>cmd</em> = <code>"shutdown"</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="ShutdownCommand_8cc-source.html#l00028">28</a> of file <a class="el" href="ShutdownCommand_8cc-source.html">ShutdownCommand.cc</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="e8e51320544929f8e5529d5de52bf4b3"></a><!-- doxytag: member="dtn::ShutdownCommand::exec" ref="e8e51320544929f8e5529d5de52bf4b3" args="(int argc, const char **argv, Tcl_Interp *interp)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int ShutdownCommand::exec </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>argc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char ** </td> <td class="paramname"> <em>argv</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">Tcl_Interp * </td> <td class="paramname"> <em>interp</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Virtual from CommandModule. <p> <p>Definition at line <a class="el" href="ShutdownCommand_8cc-source.html#l00042">42</a> of file <a class="el" href="ShutdownCommand_8cc-source.html">ShutdownCommand.cc</a>.</p> <p>References <a class="el" href="dtntest_8cc-source.html#l00900">ShutdownCommand::call_exit()</a>.</p> </div> </div><p> <a class="anchor" name="f3b89f97d2bc4e4dbaa54549ea6bdbbe"></a><!-- doxytag: member="dtn::ShutdownCommand::call_exit" ref="f3b89f97d2bc4e4dbaa54549ea6bdbbe" args="(void *clientData)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void ShutdownCommand::call_exit </td> <td>(</td> <td class="paramtype">void * </td> <td class="paramname"> <em>clientData</em> </td> <td> ) </td> <td><code> [static, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="ShutdownCommand_8cc-source.html#l00035">35</a> of file <a class="el" href="ShutdownCommand_8cc-source.html">ShutdownCommand.cc</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="a88ad6361d48c6da3140aadf8f527ec3"></a><!-- doxytag: member="dtn::ShutdownCommand::dtnserver_" ref="a88ad6361d48c6da3140aadf8f527ec3" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classdtn_1_1DTNServer.html">DTNServer</a>* <a class="el" href="classdtn_1_1ShutdownCommand.html#a88ad6361d48c6da3140aadf8f527ec3">dtn::ShutdownCommand::dtnserver_</a><code> [protected]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="ShutdownCommand_8h-source.html#l00041">41</a> of file <a class="el" href="ShutdownCommand_8h-source.html">ShutdownCommand.h</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="ShutdownCommand_8h-source.html">ShutdownCommand.h</a><li><a class="el" href="ShutdownCommand_8cc-source.html">ShutdownCommand.cc</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jul 21 14:09:52 2008 for DTN Reference Implementation by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>