dtn::BundleTransmittedEvent Class Reference

Event class for bundle or fragment transmission. More...

#include <BundleEvent.h>

Inheritance diagram for dtn::BundleTransmittedEvent:
dtn::BundleEvent

List of all members.

Public Member Functions

 BundleTransmittedEvent (Bundle *bundle, const ContactRef &contact, const LinkRef &link, u_int32_t bytes_sent, u_int32_t reliably_sent)

Public Attributes

BundleRef bundleref_
 The transmitted bundle.
ContactRef contact_
 The contact where the bundle was sent.
u_int32_t bytes_sent_
 Total number of bytes sent.
u_int32_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.
LinkRef link_
 The link over which the bundle was sent (may not have a contact when the transmission result is reported).

Detailed Description

Event class for bundle or fragment transmission.

Definition at line 390 of file BundleEvent.h.


Constructor & Destructor Documentation

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

Definition at line 392 of file BundleEvent.h.


Member Data Documentation

The transmitted bundle.

Definition at line 403 of file BundleEvent.h.

Referenced by dtn::ProphetRouter::handle_bundle_transmitted(), and dtnsim::Node::handle_bundle_transmitted().

Total number of bytes sent.

Definition at line 409 of file BundleEvent.h.

The contact where the bundle was sent.

Definition at line 406 of file BundleEvent.h.

The link over which the bundle was sent (may not have a contact when the transmission result is reported).

Definition at line 418 of file BundleEvent.h.

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

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 414 of file BundleEvent.h.


The documentation for this class was generated from the following file:
Generated on Sun Nov 21 13:21:07 2010 for DTN Reference Implementation by  doxygen 1.6.3