#include <BundleEvent.h>
Inheritance diagram for dtn::BundleTransmittedEvent:
Definition at line 275 of file BundleEvent.h.
Public Member Functions | |
BundleTransmittedEvent (Bundle *bundle, const ContactRef &contact, Link *link, u_int32_t bytes_sent, u_int32_t reliably_sent) | |
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 transmitted bundle. | |
ContactRef | contact_ |
The contact where the bundle was sent. | |
u_int32_t | bytes_sent_ |
Total number of bytes sent. | |
u_int32_t | reliably_sent_ |
If the convergence layer that we sent on is reliable, this is the count of the bytes reliably sent, which must be less than or equal to the bytes transmitted. | |
Link * | link_ |
The link over which the bundle was sent (may not have a contact when the transmission result is reported). |
dtn::BundleTransmittedEvent::BundleTransmittedEvent | ( | Bundle * | bundle, | |
const ContactRef & | contact, | |||
Link * | link, | |||
u_int32_t | bytes_sent, | |||
u_int32_t | reliably_sent | |||
) | [inline] |
Definition at line 277 of file BundleEvent.h.
void dtn::BundleTransmittedEvent::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 63 of file BundleEvent.cc.
References bundleref_, bytes_sent_, contact_, link_, oasys::Ref< _Type >::object(), oasys::SerializeAction::process(), and reliably_sent_.
The transmitted bundle.
Definition at line 291 of file BundleEvent.h.
Referenced by dtn::TcaRouter::handle_bundle_transmitted(), dtn::BundleDaemon::handle_bundle_transmitted(), and serialize().
The contact where the bundle was sent.
Definition at line 294 of file BundleEvent.h.
Referenced by serialize().
u_int32_t dtn::BundleTransmittedEvent::bytes_sent_ |
Total number of bytes sent.
Definition at line 297 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_bundle_transmitted(), and serialize().
If the convergence layer that we sent on is reliable, this is the count of the bytes reliably sent, which must be less than or equal to the bytes transmitted.
Definition at line 302 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_bundle_transmitted(), and serialize().
The link over which the bundle was sent (may not have a contact when the transmission result is reported).
Definition at line 306 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_bundle_transmitted(), and serialize().