<!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::BundleTransmittedEvent 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_1BundleTransmittedEvent.html">BundleTransmittedEvent</a> </div> </div> <div class="contents"> <h1>dtn::BundleTransmittedEvent Class Reference</h1><!-- doxytag: class="dtn::BundleTransmittedEvent" --><!-- doxytag: inherits="dtn::BundleEvent" -->Event class for bundle or fragment transmission. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="BundleEvent_8h-source.html">BundleEvent.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for dtn::BundleTransmittedEvent:</div> <div class="dynsection"> <p><center><img src="classdtn_1_1BundleTransmittedEvent.png" usemap="#dtn::BundleTransmittedEvent_map" border="0" alt=""></center> <map name="dtn::BundleTransmittedEvent_map"> <area href="classdtn_1_1BundleEvent.html" alt="dtn::BundleEvent" shape="rect" coords="0,0,170,24"> </map> </div> <p> <a href="classdtn_1_1BundleTransmittedEvent-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_1BundleTransmittedEvent.html#6c37a490ad96f68b9d38899a82c44016">BundleTransmittedEvent</a> (<a class="el" href="classdtn_1_1Bundle.html">Bundle</a> *bundle, const <a class="el" href="namespacedtn.html#5f869544c85c75b5a85a14d6e90d7ff7">ContactRef</a> &contact, const <a class="el" href="namespacedtn.html#6efb37e503f8062c537b022eb755b94e">LinkRef</a> &link, u_int32_t bytes_sent, u_int32_t reliably_sent)</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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1BundleTransmittedEvent.html#1d7eb733d3768632525dc99663473b2c">bundleref_</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The transmitted bundle. <a href="#1d7eb733d3768632525dc99663473b2c"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespacedtn.html#5f869544c85c75b5a85a14d6e90d7ff7">ContactRef</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1BundleTransmittedEvent.html#0a007e8949e4e15ef91f991d092b1b82">contact_</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The contact where the bundle was sent. <a href="#0a007e8949e4e15ef91f991d092b1b82"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">u_int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1BundleTransmittedEvent.html#1fefef8bfc399dcb0ecb0a5ba7c74f3c">bytes_sent_</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Total number of bytes sent. <a href="#1fefef8bfc399dcb0ecb0a5ba7c74f3c"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">u_int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1BundleTransmittedEvent.html#e6305d411cf9910d910adfc8922e3ffd">reliably_sent_</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">If the convergence layer that we sent on is reliable, this is the count of the bytes reliably sent, which must be less than or equal to the bytes transmitted. <a href="#e6305d411cf9910d910adfc8922e3ffd"></a><br></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_1BundleTransmittedEvent.html#12bfb1b3d1aaf619c9ac7d646a362455">link_</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The link over which the bundle was sent (may not have a contact when the transmission result is reported). <a href="#12bfb1b3d1aaf619c9ac7d646a362455"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Event class for bundle or fragment transmission. <p>Definition at line <a class="el" href="BundleEvent_8h-source.html#l00390">390</a> of file <a class="el" href="BundleEvent_8h-source.html">BundleEvent.h</a>.</p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="6c37a490ad96f68b9d38899a82c44016"></a><!-- doxytag: member="dtn::BundleTransmittedEvent::BundleTransmittedEvent" ref="6c37a490ad96f68b9d38899a82c44016" args="(Bundle *bundle, const ContactRef &contact, const LinkRef &link, u_int32_t bytes_sent, u_int32_t reliably_sent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">dtn::BundleTransmittedEvent::BundleTransmittedEvent </td> <td>(</td> <td class="paramtype"><a class="el" href="classdtn_1_1Bundle.html">Bundle</a> * </td> <td class="paramname"> <em>bundle</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="namespacedtn.html#5f869544c85c75b5a85a14d6e90d7ff7">ContactRef</a> & </td> <td class="paramname"> <em>contact</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> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">u_int32_t </td> <td class="paramname"> <em>bytes_sent</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">u_int32_t </td> <td class="paramname"> <em>reliably_sent</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="BundleEvent_8h-source.html#l00392">392</a> of file <a class="el" href="BundleEvent_8h-source.html">BundleEvent.h</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="1d7eb733d3768632525dc99663473b2c"></a><!-- doxytag: member="dtn::BundleTransmittedEvent::bundleref_" ref="1d7eb733d3768632525dc99663473b2c" 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_1BundleTransmittedEvent.html#1d7eb733d3768632525dc99663473b2c">dtn::BundleTransmittedEvent::bundleref_</a> </td> </tr> </table> </div> <div class="memdoc"> <p> The transmitted bundle. <p> <p>Definition at line <a class="el" href="BundleEvent_8h-source.html#l00403">403</a> of file <a class="el" href="BundleEvent_8h-source.html">BundleEvent.h</a>.</p> <p>Referenced by <a class="el" href="ProphetRouter_8cc-source.html#l00252">dtn::ProphetRouter::handle_bundle_transmitted()</a>, <a class="el" href="sim_2Node_8cc-source.html#l00208">dtnsim::Node::handle_bundle_transmitted()</a>, and <a class="el" href="BundleDaemon_8cc-source.html#l00785">dtn::BundleDaemon::handle_bundle_transmitted()</a>.</p> </div> </div><p> <a class="anchor" name="1fefef8bfc399dcb0ecb0a5ba7c74f3c"></a><!-- doxytag: member="dtn::BundleTransmittedEvent::bytes_sent_" ref="1fefef8bfc399dcb0ecb0a5ba7c74f3c" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">u_int32_t <a class="el" href="classdtn_1_1BundleTransmittedEvent.html#1fefef8bfc399dcb0ecb0a5ba7c74f3c">dtn::BundleTransmittedEvent::bytes_sent_</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Total number of bytes sent. <p> <p>Definition at line <a class="el" href="BundleEvent_8h-source.html#l00409">409</a> of file <a class="el" href="BundleEvent_8h-source.html">BundleEvent.h</a>.</p> <p>Referenced by <a class="el" href="BundleDaemon_8cc-source.html#l00785">dtn::BundleDaemon::handle_bundle_transmitted()</a>.</p> </div> </div><p> <a class="anchor" name="0a007e8949e4e15ef91f991d092b1b82"></a><!-- doxytag: member="dtn::BundleTransmittedEvent::contact_" ref="0a007e8949e4e15ef91f991d092b1b82" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespacedtn.html#5f869544c85c75b5a85a14d6e90d7ff7">ContactRef</a> <a class="el" href="classdtn_1_1BundleTransmittedEvent.html#0a007e8949e4e15ef91f991d092b1b82">dtn::BundleTransmittedEvent::contact_</a> </td> </tr> </table> </div> <div class="memdoc"> <p> The contact where the bundle was sent. <p> <p>Definition at line <a class="el" href="BundleEvent_8h-source.html#l00406">406</a> of file <a class="el" href="BundleEvent_8h-source.html">BundleEvent.h</a>.</p> </div> </div><p> <a class="anchor" name="12bfb1b3d1aaf619c9ac7d646a362455"></a><!-- doxytag: member="dtn::BundleTransmittedEvent::link_" ref="12bfb1b3d1aaf619c9ac7d646a362455" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespacedtn.html#6efb37e503f8062c537b022eb755b94e">LinkRef</a> <a class="el" href="classdtn_1_1BundleTransmittedEvent.html#12bfb1b3d1aaf619c9ac7d646a362455">dtn::BundleTransmittedEvent::link_</a> </td> </tr> </table> </div> <div class="memdoc"> <p> The link over which the bundle was sent (may not have a contact when the transmission result is reported). <p> <p>Definition at line <a class="el" href="BundleEvent_8h-source.html#l00418">418</a> of file <a class="el" href="BundleEvent_8h-source.html">BundleEvent.h</a>.</p> <p>Referenced by <a class="el" href="ProphetRouter_8cc-source.html#l00252">dtn::ProphetRouter::handle_bundle_transmitted()</a>.</p> </div> </div><p> <a class="anchor" name="e6305d411cf9910d910adfc8922e3ffd"></a><!-- doxytag: member="dtn::BundleTransmittedEvent::reliably_sent_" ref="e6305d411cf9910d910adfc8922e3ffd" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">u_int32_t <a class="el" href="classdtn_1_1BundleTransmittedEvent.html#e6305d411cf9910d910adfc8922e3ffd">dtn::BundleTransmittedEvent::reliably_sent_</a> </td> </tr> </table> </div> <div class="memdoc"> <p> If the convergence layer that we sent on is reliable, this is the count of the bytes reliably sent, which must be less than or equal to the bytes transmitted. <p> <p>Definition at line <a class="el" href="BundleEvent_8h-source.html#l00414">414</a> of file <a class="el" href="BundleEvent_8h-source.html">BundleEvent.h</a>.</p> <p>Referenced by <a class="el" href="BundleDaemon_8cc-source.html#l00785">dtn::BundleDaemon::handle_bundle_transmitted()</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="BundleEvent_8h-source.html">BundleEvent.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Fri Jan 30 09:27:02 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>