Sophie

Sophie

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

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::ExpirationTimer 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_1ExpirationTimer.html">ExpirationTimer</a>
  </div>
</div>
<div class="contents">
<h1>dtn::ExpirationTimer Class Reference</h1><!-- doxytag: class="dtn::ExpirationTimer" --><a class="el" href="classdtn_1_1Bundle.html" title="The internal representation of a bundle.">Bundle</a> expiration timer class.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="ExpirationTimer_8h-source.html">ExpirationTimer.h</a>&gt;</code>
<p>

<p>
<a href="classdtn_1_1ExpirationTimer-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_1ExpirationTimer.html#9b9ab74b31692b19bdb65ebc020d1532">ExpirationTimer</a> (<a class="el" href="classdtn_1_1Bundle.html">Bundle</a> *bundle)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ExpirationTimer.html#4909da99661021d082f58d7b211a277a">~ExpirationTimer</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespacedtn.html#87094f3b26b9f1d469e616d311ae57b1">BundleRef</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ExpirationTimer.html#0bd16c2936ef47811cb0aed1664d9c0c">bundleref_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The reference to the bundle, which is public since.  <a href="#0bd16c2936ef47811cb0aed1664d9c0c"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1ExpirationTimer.html#4e3809787b1b460337b22ac891804881">timeout</a> (const struct timeval &amp;now)</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classdtn_1_1Bundle.html" title="The internal representation of a bundle.">Bundle</a> expiration timer class. 
<p>
The timer is started when the bundle first arrives at the daemon, and is cancelled when the daemon removes it from the pending list. 
<p>Definition at line <a class="el" href="ExpirationTimer_8h-source.html#l00032">32</a> of file <a class="el" href="ExpirationTimer_8h-source.html">ExpirationTimer.h</a>.</p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="9b9ab74b31692b19bdb65ebc020d1532"></a><!-- doxytag: member="dtn::ExpirationTimer::ExpirationTimer" ref="9b9ab74b31692b19bdb65ebc020d1532" args="(Bundle *bundle)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">dtn::ExpirationTimer::ExpirationTimer           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classdtn_1_1Bundle.html">Bundle</a> *&nbsp;</td>
          <td class="paramname"> <em>bundle</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="ExpirationTimer_8cc-source.html#l00027">27</a> of file <a class="el" href="ExpirationTimer_8cc-source.html">ExpirationTimer.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="4909da99661021d082f58d7b211a277a"></a><!-- doxytag: member="dtn::ExpirationTimer::~ExpirationTimer" ref="4909da99661021d082f58d7b211a277a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual dtn::ExpirationTimer::~ExpirationTimer           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="ExpirationTimer_8h-source.html#l00036">36</a> of file <a class="el" href="ExpirationTimer_8h-source.html">ExpirationTimer.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="4e3809787b1b460337b22ac891804881"></a><!-- doxytag: member="dtn::ExpirationTimer::timeout" ref="4e3809787b1b460337b22ac891804881" args="(const struct timeval &amp;now)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dtn::ExpirationTimer::timeout           </td>
          <td>(</td>
          <td class="paramtype">const struct timeval &amp;&nbsp;</td>
          <td class="paramname"> <em>now</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="ExpirationTimer_8cc-source.html#l00033">33</a> of file <a class="el" href="ExpirationTimer_8cc-source.html">ExpirationTimer.cc</a>.</p>

<p>References <a class="el" href="ExpirationTimer_8h-source.html#l00039">bundleref_</a>, and <a class="el" href="BundleDaemon_8cc-source.html#l00141">dtn::BundleDaemon::post_at_head()</a>.</p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="0bd16c2936ef47811cb0aed1664d9c0c"></a><!-- doxytag: member="dtn::ExpirationTimer::bundleref_" ref="0bd16c2936ef47811cb0aed1664d9c0c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacedtn.html#87094f3b26b9f1d469e616d311ae57b1">BundleRef</a> <a class="el" href="classdtn_1_1ExpirationTimer.html#0bd16c2936ef47811cb0aed1664d9c0c">dtn::ExpirationTimer::bundleref_</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The reference to the bundle, which is public since. 
<p>

<p>Definition at line <a class="el" href="ExpirationTimer_8h-source.html#l00039">39</a> of file <a class="el" href="ExpirationTimer_8h-source.html">ExpirationTimer.h</a>.</p>

<p>Referenced by <a class="el" href="ExpirationTimer_8cc-source.html#l00033">timeout()</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ExpirationTimer_8h-source.html">ExpirationTimer.h</a><li><a class="el" href="ExpirationTimer_8cc-source.html">ExpirationTimer.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>