dtn::BundleTransmittedEvent Class Reference

#include <BundleEvent.h>

Inheritance diagram for dtn::BundleTransmittedEvent:

dtn::BundleEvent List of all members.

Detailed Description

Event class for bundle or fragment transmission.

Definition at line 244 of file BundleEvent.h.

Public Member Functions

 BundleTransmittedEvent (Bundle *bundle, const ContactRef &contact, size_t bytes_sent, size_t reliably_sent)

Public Attributes

BundleRef bundleref_
 The transmitted bundle.
ContactRef contact_
 The contact where the bundle was sent.
size_t bytes_sent_
 Total number of bytes sent.
size_t reliably_sent_
 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.


Constructor & Destructor Documentation

dtn::BundleTransmittedEvent::BundleTransmittedEvent ( Bundle bundle,
const ContactRef contact,
size_t  bytes_sent,
size_t  reliably_sent 
) [inline]

Definition at line 246 of file BundleEvent.h.


Member Data Documentation

BundleRef dtn::BundleTransmittedEvent::bundleref_

The transmitted bundle.

Definition at line 255 of file BundleEvent.h.

Referenced by dtn::TcaRouter::handle_bundle_transmitted(), and dtn::BundleDaemon::handle_bundle_transmitted().

ContactRef dtn::BundleTransmittedEvent::contact_

The contact where the bundle was sent.

Definition at line 258 of file BundleEvent.h.

Referenced by dtn::BundleDaemon::handle_bundle_transmitted().

size_t dtn::BundleTransmittedEvent::bytes_sent_

Total number of bytes sent.

Definition at line 261 of file BundleEvent.h.

Referenced by dtn::BundleDaemon::handle_bundle_transmitted().

size_t dtn::BundleTransmittedEvent::reliably_sent_

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.

Definition at line 266 of file BundleEvent.h.

Referenced by dtn::BundleDaemon::handle_bundle_transmitted().


The documentation for this class was generated from the following file:
Generated on Fri Dec 22 14:48:03 2006 for DTN Reference Implementation by  doxygen 1.5.1