<!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::TableBasedRouter::TableBasedRouter::RerouteTimer 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 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_1TableBasedRouter.html">TableBasedRouter</a>::<a class="el" href="classdtn_1_1TableBasedRouter_1_1RerouteTimer.html">RerouteTimer</a> </div> </div> <div class="contents"> <h1>dtn::TableBasedRouter::TableBasedRouter::RerouteTimer Class Reference</h1><!-- doxytag: class="dtn::TableBasedRouter::RerouteTimer" -->Timer class used to cancel transmission on down links after waiting for them to potentially reopen. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="TableBasedRouter_8h-source.html">TableBasedRouter.h</a>></code> <p> <p> <a href="classdtn_1_1TableBasedRouter_1_1RerouteTimer-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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1TableBasedRouter_1_1RerouteTimer.html#321dce60f143c9369c5b12762f85baa2">RerouteTimer</a> (<a class="el" href="classdtn_1_1TableBasedRouter.html">TableBasedRouter</a> *router, const <a class="el" href="namespacedtn.html#6efb37e503f8062c537b022eb755b94e">LinkRef</a> &link)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1TableBasedRouter_1_1RerouteTimer.html#0ab837169f3611e2f2fb5afac9d8550a">~RerouteTimer</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1TableBasedRouter_1_1RerouteTimer.html#3c1337653374c475a734a854dc1099eb">timeout</a> (const struct timeval &now)</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_1TableBasedRouter.html">TableBasedRouter</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1TableBasedRouter_1_1RerouteTimer.html#4676881a9e17414e08a2f65d1d849805">router_</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespacedtn.html#6efb37e503f8062c537b022eb755b94e">LinkRef</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1TableBasedRouter_1_1RerouteTimer.html#6b83b0f7d4e39a4c680fa7561d1d4668">link_</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Timer class used to cancel transmission on down links after waiting for them to potentially reopen. <p>Definition at line <a class="el" href="TableBasedRouter_8h-source.html#l00204">204</a> of file <a class="el" href="TableBasedRouter_8h-source.html">TableBasedRouter.h</a>.</p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="321dce60f143c9369c5b12762f85baa2"></a><!-- doxytag: member="dtn::TableBasedRouter::RerouteTimer::RerouteTimer" ref="321dce60f143c9369c5b12762f85baa2" args="(TableBasedRouter *router, const LinkRef &link)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">dtn::TableBasedRouter::TableBasedRouter::RerouteTimer::RerouteTimer </td> <td>(</td> <td class="paramtype"><a class="el" href="classdtn_1_1TableBasedRouter.html">TableBasedRouter</a> * </td> <td class="paramname"> <em>router</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="namespacedtn.html#6efb37e503f8062c537b022eb755b94e">LinkRef</a> & </td> <td class="paramname"> <em>link</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="TableBasedRouter_8h-source.html#l00206">206</a> of file <a class="el" href="TableBasedRouter_8h-source.html">TableBasedRouter.h</a>.</p> </div> </div><p> <a class="anchor" name="0ab837169f3611e2f2fb5afac9d8550a"></a><!-- doxytag: member="dtn::TableBasedRouter::RerouteTimer::~RerouteTimer" ref="0ab837169f3611e2f2fb5afac9d8550a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual dtn::TableBasedRouter::TableBasedRouter::RerouteTimer::~RerouteTimer </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="TableBasedRouter_8h-source.html#l00208">208</a> of file <a class="el" href="TableBasedRouter_8h-source.html">TableBasedRouter.h</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="3c1337653374c475a734a854dc1099eb"></a><!-- doxytag: member="dtn::TableBasedRouter::RerouteTimer::timeout" ref="3c1337653374c475a734a854dc1099eb" args="(const struct timeval &now)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void dtn::TableBasedRouter::TableBasedRouter::RerouteTimer::timeout </td> <td>(</td> <td class="paramtype">const struct timeval & </td> <td class="paramname"> <em>now</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="TableBasedRouter_8cc-source.html#l00512">512</a> of file <a class="el" href="TableBasedRouter_8cc-source.html">TableBasedRouter.cc</a>.</p> <p>References <a class="el" href="TableBasedRouter_8h-source.html#l00214">dtn::TableBasedRouter::TableBasedRouter::RerouteTimer::link_</a>, <a class="el" href="TableBasedRouter_8cc-source.html#l00520">dtn::TableBasedRouter::reroute_bundles()</a>, and <a class="el" href="TableBasedRouter_8h-source.html#l00213">dtn::TableBasedRouter::TableBasedRouter::RerouteTimer::router_</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="6b83b0f7d4e39a4c680fa7561d1d4668"></a><!-- doxytag: member="dtn::TableBasedRouter::RerouteTimer::link_" ref="6b83b0f7d4e39a4c680fa7561d1d4668" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespacedtn.html#6efb37e503f8062c537b022eb755b94e">LinkRef</a> dtn::TableBasedRouter::TableBasedRouter::RerouteTimer::link_<code> [protected]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="TableBasedRouter_8h-source.html#l00214">214</a> of file <a class="el" href="TableBasedRouter_8h-source.html">TableBasedRouter.h</a>.</p> <p>Referenced by <a class="el" href="TableBasedRouter_8cc-source.html#l00512">dtn::TableBasedRouter::TableBasedRouter::RerouteTimer::timeout()</a>.</p> </div> </div><p> <a class="anchor" name="4676881a9e17414e08a2f65d1d849805"></a><!-- doxytag: member="dtn::TableBasedRouter::RerouteTimer::router_" ref="4676881a9e17414e08a2f65d1d849805" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classdtn_1_1TableBasedRouter.html">TableBasedRouter</a>* dtn::TableBasedRouter::TableBasedRouter::RerouteTimer::router_<code> [protected]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="TableBasedRouter_8h-source.html#l00213">213</a> of file <a class="el" href="TableBasedRouter_8h-source.html">TableBasedRouter.h</a>.</p> <p>Referenced by <a class="el" href="TableBasedRouter_8cc-source.html#l00512">dtn::TableBasedRouter::TableBasedRouter::RerouteTimer::timeout()</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="TableBasedRouter_8h-source.html">TableBasedRouter.h</a><li><a class="el" href="TableBasedRouter_8cc-source.html">TableBasedRouter.cc</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Fri Jan 30 09:27:05 2009 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.8 </small></address> </body> </html>