|
IBR-DTNSuite
0.8
|
Represents an Acknowledgement, i.e. the bundleID that is acknowledged and the lifetime of the acknowledgement. More...
#include <ProphetRoutingExtension.h>

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. | |
Represents an Acknowledgement, i.e. the bundleID that is acknowledged and the lifetime of the acknowledgement.
Definition at line 88 of file ProphetRoutingExtension.h.
Definition at line 736 of file ProphetRoutingExtension.cpp.
| dtn::routing::ProphetRoutingExtension::Acknowledgement::Acknowledgement | ( | const dtn::data::BundleID & | bundleID, |
| size_t | expire_time | ||
| ) |
Definition at line 740 of file ProphetRoutingExtension.cpp.
Definition at line 745 of file ProphetRoutingExtension.cpp.
| std::istream & dtn::routing::ProphetRoutingExtension::Acknowledgement::deserialize | ( | std::istream & | stream | ) |
Definition at line 837 of file ProphetRoutingExtension.cpp.
References dtn::data::SDNV::getValue().
Referenced by dtn::routing::ProphetRoutingExtension::AcknowledgementSet::deserialize().

| 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.
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.