Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 29c369053a983cc5d8c880dc6e0a2237 > files > 1396

libdtn-devel-2.6.0-2mdv2009.1.i586.rpm

<!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="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;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&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;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" -->CommandModule for the "shutdown" command.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="ShutdownCommand_8h-source.html">ShutdownCommand.h</a>&gt;</code>
<p>

<p>
<a href="classdtn_1_1ShutdownCommand-members.html">List of all members.</a><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">&nbsp;</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=&quot;shutdown&quot;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</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">&nbsp;</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&nbsp;</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> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ShutdownCommand.html#a88ad6361d48c6da3140aadf8f527ec3">dtnserver_</a></td></tr>

</table>
<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>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="7c5d834c056f5c0bf0720f28ea82ff8b"></a><!-- doxytag: member="dtn::ShutdownCommand::ShutdownCommand" ref="7c5d834c056f5c0bf0720f28ea82ff8b" args="(DTNServer *server, const char *cmd=&quot;shutdown&quot;)" -->
<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> *&nbsp;</td>
          <td class="paramname"> <em>server</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>cmd</em> = <code>&quot;shutdown&quot;</code></td><td>&nbsp;</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="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 *&nbsp;</td>
          <td class="paramname"> <em>clientData</em>          </td>
          <td>&nbsp;)&nbsp;</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>

<p>Referenced by <a class="el" href="ShutdownCommand_8cc-source.html#l00042">exec()</a>.</p>

</div>
</div><p>
<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&nbsp;</td>
          <td class="paramname"> <em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char **&nbsp;</td>
          <td class="paramname"> <em>argv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Tcl_Interp *&nbsp;</td>
          <td class="paramname"> <em>interp</em></td><td>&nbsp;</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="ShutdownCommand_8cc-source.html#l00035">call_exit()</a>, and <a class="el" href="ShutdownCommand_8h-source.html#l00041">dtnserver_</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>

<p>Referenced by <a class="el" href="ShutdownCommand_8cc-source.html#l00042">exec()</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 Fri Jan 30 09:27:03 2009 for DTN Reference Implementation by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>