IBR-DTNSuite  0.8
dtn::routing::ProphetRoutingExtension::Acknowledgement Class Reference

Represents an Acknowledgement, i.e. the bundleID that is acknowledged and the lifetime of the acknowledgement. More...

#include <ProphetRoutingExtension.h>

Collaboration diagram for dtn::routing::ProphetRoutingExtension::Acknowledgement:

List of all members.

Public Member Functions

 Acknowledgement ()
 Acknowledgement (const dtn::data::BundleID &, size_t expire_time)
virtual ~Acknowledgement ()
std::ostream & serialize (std::ostream &stream) const
std::istream & deserialize (std::istream &stream)
bool operator< (const Acknowledgement &other) const

Public Attributes

dtn::data::BundleID bundleID
 The BundleID that is acknowledged.
size_t expire_time
 The expire time of the acknowledgement, given in the same format as the bundle timestamps.

Detailed Description

Represents an Acknowledgement, i.e. the bundleID that is acknowledged and the lifetime of the acknowledgement.

Definition at line 88 of file ProphetRoutingExtension.h.


Constructor & Destructor Documentation

Definition at line 740 of file ProphetRoutingExtension.cpp.


Member Function Documentation

Definition at line 837 of file ProphetRoutingExtension.cpp.

References dtn::data::SDNV::getValue().

Referenced by dtn::routing::ProphetRoutingExtension::AcknowledgementSet::deserialize().

Here is the call graph for this function:

bool dtn::routing::ProphetRoutingExtension::Acknowledgement::operator< ( const Acknowledgement other) const

Definition at line 749 of file ProphetRoutingExtension.cpp.

References bundleID.

std::ostream & dtn::routing::ProphetRoutingExtension::Acknowledgement::serialize ( std::ostream &  stream) const

Definition at line 830 of file ProphetRoutingExtension.cpp.


Member Data Documentation

The BundleID that is acknowledged.

Definition at line 99 of file ProphetRoutingExtension.h.

Referenced by operator<().

The expire time of the acknowledgement, given in the same format as the bundle timestamps.

Definition at line 100 of file ProphetRoutingExtension.h.


The documentation for this class was generated from the following files: