IBR-DTNSuite
0.8
|
#include <StatusReportBlock.h>
Definition at line 22 of file StatusReportBlock.h.
Definition at line 34 of file StatusReportBlock.h.
RECEIPT_OF_BUNDLE | |
CUSTODY_ACCEPTANCE_OF_BUNDLE | |
FORWARDING_OF_BUNDLE | |
DELIVERY_OF_BUNDLE | |
DELETION_OF_BUNDLE |
Definition at line 25 of file StatusReportBlock.h.
Definition at line 19 of file StatusReportBlock.cpp.
dtn::data::StatusReportBlock::~StatusReportBlock | ( | ) | [virtual] |
Definition at line 27 of file StatusReportBlock.cpp.
std::istream & dtn::data::StatusReportBlock::deserialize | ( | std::istream & | stream, |
const size_t | length | ||
) | [virtual] |
Deserialize the derived block payload.
stream | A input stream to deserialize from. |
Implements dtn::data::Block.
Definition at line 103 of file StatusReportBlock.cpp.
References _admfield, _bundle_sequence, _bundle_timestamp, _fragment_length, _fragment_offset, _reasoncode, _source, _status, _timeof_custodyaccept, _timeof_deletion, _timeof_delivery, _timeof_forwarding, _timeof_receipt, CUSTODY_ACCEPTANCE_OF_BUNDLE, DELETION_OF_BUNDLE, DELIVERY_OF_BUNDLE, dtn::data::Block::FORWARDED_WITHOUT_PROCESSED, FORWARDING_OF_BUNDLE, and RECEIPT_OF_BUNDLE.
size_t dtn::data::StatusReportBlock::getLength | ( | ) | const [virtual] |
Return the length of the payload, if this were an abstract block. It is the length put in the third field, after block type and processing flags.
Implements dtn::data::Block.
Definition at line 31 of file StatusReportBlock.cpp.
References _admfield, _bundle_sequence, _bundle_timestamp, _fragment_length, _fragment_offset, _reasoncode, _source, _status, _timeof_custodyaccept, _timeof_deletion, _timeof_delivery, _timeof_forwarding, _timeof_receipt, CUSTODY_ACCEPTANCE_OF_BUNDLE, DELETION_OF_BUNDLE, DELIVERY_OF_BUNDLE, FORWARDING_OF_BUNDLE, dtn::data::BundleString::getLength(), dtn::data::DTNTime::getLength(), dtn::data::SDNV::getLength(), dtn::data::EID::getString(), and RECEIPT_OF_BUNDLE.
std::ostream & dtn::data::StatusReportBlock::serialize | ( | std::ostream & | stream, |
size_t & | length | ||
) | const [virtual] |
Serialize the derived block payload.
stream | A output stream to serialize into. |
Implements dtn::data::Block.
Definition at line 69 of file StatusReportBlock.cpp.
References _admfield, _bundle_sequence, _bundle_timestamp, _fragment_length, _fragment_offset, _reasoncode, _source, _status, _timeof_custodyaccept, _timeof_deletion, _timeof_delivery, _timeof_forwarding, _timeof_receipt, CUSTODY_ACCEPTANCE_OF_BUNDLE, DELETION_OF_BUNDLE, DELIVERY_OF_BUNDLE, FORWARDING_OF_BUNDLE, dtn::data::EID::getString(), and RECEIPT_OF_BUNDLE.
Definition at line 54 of file StatusReportBlock.h.
Referenced by deserialize(), getLength(), and serialize().
Definition at line 65 of file StatusReportBlock.h.
Referenced by deserialize(), getLength(), and serialize().
Definition at line 64 of file StatusReportBlock.h.
Referenced by deserialize(), getLength(), and serialize().
Definition at line 58 of file StatusReportBlock.h.
Referenced by deserialize(), getLength(), and serialize().
Definition at line 57 of file StatusReportBlock.h.
Referenced by deserialize(), getLength(), and serialize().
Definition at line 56 of file StatusReportBlock.h.
Referenced by deserialize(), getLength(), and serialize().
Definition at line 66 of file StatusReportBlock.h.
Referenced by deserialize(), getLength(), and serialize().
Definition at line 55 of file StatusReportBlock.h.
Referenced by deserialize(), getLength(), and serialize().
Definition at line 60 of file StatusReportBlock.h.
Referenced by deserialize(), getLength(), and serialize().
Definition at line 63 of file StatusReportBlock.h.
Referenced by deserialize(), getLength(), and serialize().
Definition at line 62 of file StatusReportBlock.h.
Referenced by deserialize(), getLength(), and serialize().
Definition at line 61 of file StatusReportBlock.h.
Referenced by deserialize(), getLength(), and serialize().
Definition at line 59 of file StatusReportBlock.h.
Referenced by deserialize(), getLength(), and serialize().