#include <BundleEvent.h>
Public Member Functions | |
BundleReceivedEvent (Bundle *bundle, event_source_t source, u_int32_t bytes_received, const EndpointID &prevhop, Link *originator=NULL) | |
BundleReceivedEvent (Bundle *bundle, event_source_t source, Registration *registration) | |
BundleReceivedEvent (Bundle *bundle, event_source_t source) | |
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. | |
LinkRef | link_ |
Link from which bundle was received, if applicable. | |
EndpointID | prevhop_ |
Previous hop endpoint id. | |
Registration * | registration_ |
Registration where the bundle arrived. |
Definition at line 312 of file BundleEvent.h.
dtn::BundleReceivedEvent::BundleReceivedEvent | ( | Bundle * | bundle, | |
event_source_t | source, | |||
u_int32_t | bytes_received, | |||
const EndpointID & | prevhop, | |||
Link * | originator = NULL | |||
) | [inline] |
dtn::BundleReceivedEvent::BundleReceivedEvent | ( | Bundle * | bundle, | |
event_source_t | source, | |||
Registration * | registration | |||
) | [inline] |
Definition at line 339 of file BundleEvent.h.
dtn::BundleReceivedEvent::BundleReceivedEvent | ( | Bundle * | bundle, | |
event_source_t | source | |||
) | [inline] |
Definition at line 356 of file BundleEvent.h.
The newly arrived bundle.
Definition at line 369 of file BundleEvent.h.
Referenced by dtn::ProphetRouter::handle_bundle_received().
The total bytes actually received.
Definition at line 375 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_bundle_received().
Link from which bundle was received, if applicable.
Definition at line 378 of file BundleEvent.h.
Referenced by dtn::TableBasedRouter::handle_bundle_received(), dtn::ProphetRouter::handle_bundle_received(), and dtn::BundleDaemon::handle_bundle_received().
Previous hop endpoint id.
Definition at line 381 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_bundle_received().
Registration where the bundle arrived.
Definition at line 384 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_bundle_received().
The source of the bundle.
Definition at line 372 of file BundleEvent.h.
Referenced by dtn::ProphetRouter::handle_bundle_received(), dtn::BundleDaemon::handle_bundle_received(), and dtn::TableBasedRouter::handle_session_bundle().