#include <BundleEvent.h>
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. |
dtn::ContactDownEvent::ContactDownEvent | ( | const ContactRef & | contact, | |
reason_t | reason | |||
) | [inline] |
Definition at line 489 of file BundleEvent.h.
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_.
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().