#include <UnknownBlockProcessor.h>
Inheritance diagram for dtn::UnknownBlockProcessor:

Definition at line 29 of file UnknownBlockProcessor.h.
Public Member Functions | |
| UnknownBlockProcessor () | |
| Constructor. | |
| void | prepare (const Bundle *bundle, Link *link, BlockInfoVec *blocks, const BlockInfo *source) |
| Virtual from BlockProcessor. | |
| void | generate (const Bundle *bundle, Link *link, BlockInfo *block, bool last) |
| Virtual from BlockProcessor. | |
| bool | validate (const Bundle *bundle, BlockInfo *block, BundleProtocol::status_report_reason_t *reception_reason, BundleProtocol::status_report_reason_t *deletion_reason) |
| Virtual from BlockProcessor. | |
| dtn::UnknownBlockProcessor::UnknownBlockProcessor | ( | ) |
| void dtn::UnknownBlockProcessor::prepare | ( | const Bundle * | bundle, | |
| Link * | link, | |||
| BlockInfoVec * | blocks, | |||
| const BlockInfo * | source | |||
| ) | [virtual] |
Virtual from BlockProcessor.
Reimplemented from dtn::BlockProcessor.
Definition at line 35 of file UnknownBlockProcessor.cc.
References ASSERT, dtn::BundleProtocol::BLOCK_FLAG_DISCARD_BLOCK_ONERROR, dtn::BlockInfo::flags(), dtn::BlockInfo::owner(), and dtn::BlockProcessor::prepare().
| void dtn::UnknownBlockProcessor::generate | ( | const Bundle * | bundle, | |
| Link * | link, | |||
| BlockInfo * | block, | |||
| bool | last | |||
| ) | [virtual] |
Virtual from BlockProcessor.
Implements dtn::BlockProcessor.
Definition at line 52 of file UnknownBlockProcessor.cc.
References ASSERT, dtn::BundleProtocol::BLOCK_FLAG_DISCARD_BLOCK_ONERROR, dtn::BundleProtocol::BLOCK_FLAG_DISCARD_BUNDLE_ONERROR, dtn::BundleProtocol::BLOCK_FLAG_FORWARDED_UNPROCESSED, dtn::BundleProtocol::BLOCK_FLAG_LAST_BLOCK, dtn::BlockInfo::contents(), dtn::BlockInfo::data_length(), dtn::BlockInfo::data_offset(), dtn::BlockInfo::flags(), dtn::BlockInfo::full_length(), dtn::BlockProcessor::generate_preamble(), dtn::BlockInfo::owner(), dtn::BlockInfo::source(), dtn::BlockInfo::type(), and dtn::BlockInfo::writable_contents().
| bool dtn::UnknownBlockProcessor::validate | ( | const Bundle * | bundle, | |
| BlockInfo * | block, | |||
| BundleProtocol::status_report_reason_t * | reception_reason, | |||
| BundleProtocol::status_report_reason_t * | deletion_reason | |||
| ) | [virtual] |
Virtual from BlockProcessor.
Reimplemented from dtn::BlockProcessor.
Definition at line 99 of file UnknownBlockProcessor.cc.
References dtn::BundleProtocol::BLOCK_FLAG_DISCARD_BUNDLE_ONERROR, dtn::BundleProtocol::BLOCK_FLAG_REPORT_ONERROR, dtn::BlockInfo::flags(), dtn::BundleProtocol::REASON_BLOCK_UNINTELLIGIBLE, and dtn::BlockProcessor::validate().
1.5.1