dtn::ContactDownEvent Class Reference

#include <BundleEvent.h>

Inheritance diagram for dtn::ContactDownEvent:

dtn::ContactEvent dtn::BundleEvent oasys::SerializableObject

List of all members.


Detailed Description

Event class for contact down events.

Definition at line 487 of file BundleEvent.h.


Public Member Functions

 ContactDownEvent (const ContactRef &contact, reason_t reason)
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

ContactRef contact_
 The contact that is now down.

Constructor & Destructor Documentation

dtn::ContactDownEvent::ContactDownEvent ( const ContactRef contact,
reason_t  reason 
) [inline]

Definition at line 489 of file BundleEvent.h.


Member Function Documentation

void dtn::ContactDownEvent::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::ContactEvent.

Definition at line 167 of file BundleEvent.cc.

References contact_, oasys::Ref< _Type >::object(), oasys::SerializeAction::process(), and dtn::ContactEvent::reason_.


Member Data Documentation

ContactRef dtn::ContactDownEvent::contact_

The contact that is now down.

Definition at line 497 of file BundleEvent.h.

Referenced by dtn::ProphetRouter::handle_contact_down(), dtn::NeighborhoodRouter::handle_contact_down(), dtn::LinkStateRouter::handle_contact_down(), and serialize().


The documentation for this class was generated from the following files:
Generated on Sat Sep 8 08:43:43 2007 for DTN Reference Implementation by  doxygen 1.5.3