dtn::RegistrationAddedEvent Class Reference

#include <BundleEvent.h>

Inheritance diagram for dtn::RegistrationAddedEvent:

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

Detailed Description

Event class for new registration arrivals.

Definition at line 631 of file BundleEvent.h.

Public Member Functions

 RegistrationAddedEvent (Registration *reg, event_source_t source)
virtual void serialize (oasys::SerializeAction *)
 This should call v->process() on each of the types that are to be serialized in the object.

Public Attributes

Registrationregistration_
 The newly added registration.
int source_
 Why is the registration added.


Constructor & Destructor Documentation

dtn::RegistrationAddedEvent::RegistrationAddedEvent ( Registration reg,
event_source_t  source 
) [inline]

Definition at line 633 of file BundleEvent.h.


Member Function Documentation

void dtn::RegistrationAddedEvent::serialize ( oasys::SerializeAction  )  [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 251 of file BundleEvent.cc.

References oasys::SerializeAction::process(), registration_, and source_.


Member Data Documentation

Registration* dtn::RegistrationAddedEvent::registration_

The newly added registration.

Definition at line 641 of file BundleEvent.h.

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

int dtn::RegistrationAddedEvent::source_

Why is the registration added.

Definition at line 644 of file BundleEvent.h.

Referenced by dtn::BundleDaemon::handle_registration_added(), 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