dtn::BundleTransmitFailedEvent Class Reference

#include <BundleEvent.h>

Inheritance diagram for dtn::BundleTransmitFailedEvent:

dtn::BundleEvent oasys::SerializableObject List of all members.

Detailed Description

Event class for a failed transmission, which can occur if a link closes after a router has issued a transmission request but before the bundle is successfully sent.

Definition at line 315 of file BundleEvent.h.

Public Member Functions

 BundleTransmitFailedEvent (Bundle *bundle, const ContactRef &contact, Link *link)
virtual void serialize (oasys::SerializeAction *a)
 This should call v->process() on each of the types that are to be serialized in the object.

Public Attributes

BundleRef bundleref_
 The transmitted bundle.
ContactRef contact_
 The contact where the bundle was attempted to be sent.
Linklink_
 The link over which the bundle was sent (may not have a contact when the transmission result is reported).


Constructor & Destructor Documentation

dtn::BundleTransmitFailedEvent::BundleTransmitFailedEvent ( Bundle bundle,
const ContactRef contact,
Link link 
) [inline]

Definition at line 317 of file BundleEvent.h.


Member Function Documentation

void dtn::BundleTransmitFailedEvent::serialize ( oasys::SerializeAction a  )  [virtual]

This should call v->process() on each of the types that are to be serialized in the object.

Reimplemented from dtn::BundleEvent.

Definition at line 73 of file BundleEvent.cc.

References bundleref_, contact_, link_, oasys::Ref< _Type >::object(), and oasys::SerializeAction::process().


Member Data Documentation

BundleRef dtn::BundleTransmitFailedEvent::bundleref_

The transmitted bundle.

Definition at line 328 of file BundleEvent.h.

Referenced by dtn::TableBasedRouter::handle_bundle_transmit_failed(), dtn::BundleDaemon::handle_bundle_transmit_failed(), and serialize().

ContactRef dtn::BundleTransmitFailedEvent::contact_

The contact where the bundle was attempted to be sent.

Definition at line 331 of file BundleEvent.h.

Referenced by dtn::BundleDaemon::handle_bundle_transmit_failed(), and serialize().

Link* dtn::BundleTransmitFailedEvent::link_

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

Definition at line 335 of file BundleEvent.h.

Referenced by dtn::BundleDaemon::handle_bundle_transmit_failed(), and serialize().


The documentation for this class was generated from the following files:
Generated on Thu Jun 7 16:56:56 2007 for DTN Reference Implementation by  doxygen 1.5.1