#include <BundleEvent.h>
Inheritance diagram for dtn::BundleReceivedEvent:
Definition at line 237 of file BundleEvent.h.
Public Member Functions | |
BundleReceivedEvent (Bundle *bundle, event_source_t source, u_int32_t bytes_received=0, Contact *originator=NULL) | |
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 newly arrived bundle. | |
int | source_ |
The source of the bundle. | |
u_int32_t | bytes_received_ |
The total bytes actually received. | |
ContactRef | contact_ |
Contact from which bundle was received, if applicable. |
dtn::BundleReceivedEvent::BundleReceivedEvent | ( | Bundle * | bundle, | |
event_source_t | source, | |||
u_int32_t | bytes_received = 0 , |
|||
Contact * | originator = NULL | |||
) | [inline] |
Definition at line 243 of file BundleEvent.h.
void dtn::BundleReceivedEvent::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 55 of file BundleEvent.cc.
References bundleref_, bytes_received_, oasys::Ref< _Type >::object(), oasys::SerializeAction::process(), and source_.
The newly arrived bundle.
Definition at line 260 of file BundleEvent.h.
Referenced by dtn::ProphetRouter::handle_bundle_delivered(), dtn::TcaRouter::handle_bundle_received(), dtn::TableBasedRouter::handle_bundle_received(), dtn::ProphetRouter::handle_bundle_received(), dtn::LinkStateRouter::handle_bundle_received(), dtn::FloodBundleRouter::handle_bundle_received(), dtn::BundleDaemon::handle_bundle_received(), and serialize().
The source of the bundle.
Definition at line 263 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_bundle_received(), and serialize().
The total bytes actually received.
Definition at line 266 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_bundle_received(), and serialize().
Contact from which bundle was received, if applicable.
Definition at line 269 of file BundleEvent.h.
Referenced by dtn::ProphetRouter::handle_bundle_received().