<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>DTN Reference Implementation: dtn::UnknownBlockProcessor Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespacedtn.html">dtn</a>::<a class="el" href="classdtn_1_1UnknownBlockProcessor.html">UnknownBlockProcessor</a> </div> </div> <div class="contents"> <h1>dtn::UnknownBlockProcessor Class Reference</h1><!-- doxytag: class="dtn::UnknownBlockProcessor" --><!-- doxytag: inherits="dtn::BlockProcessor" --><code>#include <<a class="el" href="UnknownBlockProcessor_8h-source.html">UnknownBlockProcessor.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for dtn::UnknownBlockProcessor:</div> <div class="dynsection"> <p><center><img src="classdtn_1_1UnknownBlockProcessor.png" usemap="#dtn::UnknownBlockProcessor_map" border="0" alt=""></center> <map name="dtn::UnknownBlockProcessor_map"> <area href="classdtn_1_1BlockProcessor.html" alt="dtn::BlockProcessor" shape="rect" coords="0,0,175,24"> </map> </div> <p> <a href="classdtn_1_1UnknownBlockProcessor-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> Block processor implementation for any unknown bundle blocks. <p>Definition at line <a class="el" href="UnknownBlockProcessor_8h-source.html#l00029">29</a> of file <a class="el" href="UnknownBlockProcessor_8h-source.html">UnknownBlockProcessor.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1UnknownBlockProcessor.html#c3fe5c954c3d5b42aab73092ecde3d9c">UnknownBlockProcessor</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#c3fe5c954c3d5b42aab73092ecde3d9c"></a><br></td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1UnknownBlockProcessor.html#1c7169065341410fe4c23c6b6d48dccb">prepare</a> (const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> *bundle, <a class="el" href="classdtn_1_1BlockInfoVec.html">BlockInfoVec</a> *xmit_blocks, const <a class="el" href="classdtn_1_1BlockInfo.html">BlockInfo</a> *source, const <a class="el" href="namespacedtn.html#6efb37e503f8062c537b022eb755b94e">LinkRef</a> &link, <a class="el" href="classdtn_1_1BlockInfo.html#3d0bc8cd207912ac5406fde3fc2c8d1c">list_owner_t</a> list)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Virtual from <a class="el" href="classdtn_1_1BlockProcessor.html" title="Base class for the protocol handling of bundle blocks, including the core primary...">BlockProcessor</a>. <a href="#1c7169065341410fe4c23c6b6d48dccb"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1UnknownBlockProcessor.html#d79d87faec3e2573635ff08f1185dea6">generate</a> (const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> *bundle, <a class="el" href="classdtn_1_1BlockInfoVec.html">BlockInfoVec</a> *xmit_blocks, <a class="el" href="classdtn_1_1BlockInfo.html">BlockInfo</a> *block, const <a class="el" href="namespacedtn.html#6efb37e503f8062c537b022eb755b94e">LinkRef</a> &link, <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> last)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Virtual from <a class="el" href="classdtn_1_1BlockProcessor.html" title="Base class for the protocol handling of bundle blocks, including the core primary...">BlockProcessor</a>. <a href="#d79d87faec3e2573635ff08f1185dea6"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1UnknownBlockProcessor.html#446c8a648957e850d53dd1e78f5e4ea0">validate</a> (const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> *bundle, <a class="el" href="classdtn_1_1BlockInfoVec.html">BlockInfoVec</a> *block_list, <a class="el" href="classdtn_1_1BlockInfo.html">BlockInfo</a> *block, <a class="el" href="classdtn_1_1BundleProtocol.html#37b000d94172c06970bb8af32889f917">status_report_reason_t</a> *reception_reason, <a class="el" href="classdtn_1_1BundleProtocol.html#37b000d94172c06970bb8af32889f917">status_report_reason_t</a> *deletion_reason)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Virtual from <a class="el" href="classdtn_1_1BlockProcessor.html" title="Base class for the protocol handling of bundle blocks, including the core primary...">BlockProcessor</a>. <a href="#446c8a648957e850d53dd1e78f5e4ea0"></a><br></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="c3fe5c954c3d5b42aab73092ecde3d9c"></a><!-- doxytag: member="dtn::UnknownBlockProcessor::UnknownBlockProcessor" ref="c3fe5c954c3d5b42aab73092ecde3d9c" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">dtn::UnknownBlockProcessor::UnknownBlockProcessor </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Constructor. <p> <p>Definition at line <a class="el" href="UnknownBlockProcessor_8cc-source.html#l00033">33</a> of file <a class="el" href="UnknownBlockProcessor_8cc-source.html">UnknownBlockProcessor.cc</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="1c7169065341410fe4c23c6b6d48dccb"></a><!-- doxytag: member="dtn::UnknownBlockProcessor::prepare" ref="1c7169065341410fe4c23c6b6d48dccb" args="(const Bundle *bundle, BlockInfoVec *xmit_blocks, const BlockInfo *source, const LinkRef &link, list_owner_t list)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int dtn::UnknownBlockProcessor::prepare </td> <td>(</td> <td class="paramtype">const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> * </td> <td class="paramname"> <em>bundle</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classdtn_1_1BlockInfoVec.html">BlockInfoVec</a> * </td> <td class="paramname"> <em>xmit_blocks</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classdtn_1_1BlockInfo.html">BlockInfo</a> * </td> <td class="paramname"> <em>source</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="namespacedtn.html#6efb37e503f8062c537b022eb755b94e">LinkRef</a> & </td> <td class="paramname"> <em>link</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classdtn_1_1BlockInfo.html#3d0bc8cd207912ac5406fde3fc2c8d1c">list_owner_t</a> </td> <td class="paramname"> <em>list</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Virtual from <a class="el" href="classdtn_1_1BlockProcessor.html" title="Base class for the protocol handling of bundle blocks, including the core primary...">BlockProcessor</a>. <p> <p>Reimplemented from <a class="el" href="classdtn_1_1BlockProcessor.html#f7c21ecdcbbb4f2060c7f5f865415c48">dtn::BlockProcessor</a>.</p> <p>Definition at line <a class="el" href="UnknownBlockProcessor_8cc-source.html#l00044">44</a> of file <a class="el" href="UnknownBlockProcessor_8cc-source.html">UnknownBlockProcessor.cc</a>.</p> <p>References <a class="el" href="SDNV_8cc-source.html#l00044">ASSERT</a>, <a class="el" href="BundleProtocol_8h-source.html#l00200">dtn::BundleProtocol::BLOCK_FLAG_DISCARD_BLOCK_ONERROR</a>, <a class="el" href="BlockProcessor_8h-source.html#l00035">BP_FAIL</a>, <a class="el" href="BundleProtocol_8h-source.html#l00179">dtn::BundleProtocol::BUNDLE_AUTHENTICATION_BLOCK</a>, <a class="el" href="BlockInfo_8cc-source.html#l00118">dtn::BlockInfo::flags()</a>, <a class="el" href="BlockInfo_8h-source.html#l00072">dtn::BlockInfo::owner()</a>, <a class="el" href="BlockProcessor_8cc-source.html#l00406">dtn::BlockProcessor::prepare()</a>, and <a class="el" href="BlockInfo_8cc-source.html#l00094">dtn::BlockInfo::type()</a>.</p> </div> </div><p> <a class="anchor" name="d79d87faec3e2573635ff08f1185dea6"></a><!-- doxytag: member="dtn::UnknownBlockProcessor::generate" ref="d79d87faec3e2573635ff08f1185dea6" args="(const Bundle *bundle, BlockInfoVec *xmit_blocks, BlockInfo *block, const LinkRef &link, bool last)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int dtn::UnknownBlockProcessor::generate </td> <td>(</td> <td class="paramtype">const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> * </td> <td class="paramname"> <em>bundle</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classdtn_1_1BlockInfoVec.html">BlockInfoVec</a> * </td> <td class="paramname"> <em>xmit_blocks</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classdtn_1_1BlockInfo.html">BlockInfo</a> * </td> <td class="paramname"> <em>block</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="namespacedtn.html#6efb37e503f8062c537b022eb755b94e">LinkRef</a> & </td> <td class="paramname"> <em>link</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> </td> <td class="paramname"> <em>last</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Virtual from <a class="el" href="classdtn_1_1BlockProcessor.html" title="Base class for the protocol handling of bundle blocks, including the core primary...">BlockProcessor</a>. <p> <p>Implements <a class="el" href="classdtn_1_1BlockProcessor.html#93079be0f3f307ae9a800106a9518f3e">dtn::BlockProcessor</a>.</p> <p>Definition at line <a class="el" href="UnknownBlockProcessor_8cc-source.html#l00068">68</a> of file <a class="el" href="UnknownBlockProcessor_8cc-source.html">UnknownBlockProcessor.cc</a>.</p> <p>References <a class="el" href="SDNV_8cc-source.html#l00044">ASSERT</a>, <a class="el" href="BundleProtocol_8h-source.html#l00200">dtn::BundleProtocol::BLOCK_FLAG_DISCARD_BLOCK_ONERROR</a>, <a class="el" href="BundleProtocol_8h-source.html#l00198">dtn::BundleProtocol::BLOCK_FLAG_DISCARD_BUNDLE_ONERROR</a>, <a class="el" href="BundleProtocol_8h-source.html#l00201">dtn::BundleProtocol::BLOCK_FLAG_FORWARDED_UNPROCESSED</a>, <a class="el" href="BundleProtocol_8h-source.html#l00199">dtn::BundleProtocol::BLOCK_FLAG_LAST_BLOCK</a>, <a class="el" href="BlockProcessor_8h-source.html#l00034">BP_SUCCESS</a>, <a class="el" href="BlockInfo_8h-source.html#l00075">dtn::BlockInfo::contents()</a>, <a class="el" href="BlockInfo_8h-source.html#l00077">dtn::BlockInfo::data_length()</a>, <a class="el" href="BlockInfo_8h-source.html#l00078">dtn::BlockInfo::data_offset()</a>, <a class="el" href="BlockInfo_8h-source.html#l00074">dtn::BlockInfo::eid_list()</a>, <a class="el" href="BlockInfo_8cc-source.html#l00118">dtn::BlockInfo::flags()</a>, <a class="el" href="BlockInfo_8h-source.html#l00079">dtn::BlockInfo::full_length()</a>, <a class="el" href="BlockProcessor_8cc-source.html#l00206">dtn::BlockProcessor::generate_preamble()</a>, <a class="el" href="BlockInfo_8h-source.html#l00072">dtn::BlockInfo::owner()</a>, <a class="el" href="BlockInfo_8h-source.html#l00090">dtn::BlockInfo::set_eid_list()</a>, <a class="el" href="BlockInfo_8h-source.html#l00073">dtn::BlockInfo::source()</a>, <a class="el" href="BlockInfo_8cc-source.html#l00094">dtn::BlockInfo::type()</a>, and <a class="el" href="BlockInfo_8h-source.html#l00094">dtn::BlockInfo::writable_contents()</a>.</p> </div> </div><p> <a class="anchor" name="446c8a648957e850d53dd1e78f5e4ea0"></a><!-- doxytag: member="dtn::UnknownBlockProcessor::validate" ref="446c8a648957e850d53dd1e78f5e4ea0" args="(const Bundle *bundle, BlockInfoVec *block_list, BlockInfo *block, status_report_reason_t *reception_reason, status_report_reason_t *deletion_reason)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> dtn::UnknownBlockProcessor::validate </td> <td>(</td> <td class="paramtype">const <a class="el" href="classdtn_1_1Bundle.html">Bundle</a> * </td> <td class="paramname"> <em>bundle</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classdtn_1_1BlockInfoVec.html">BlockInfoVec</a> * </td> <td class="paramname"> <em>block_list</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classdtn_1_1BlockInfo.html">BlockInfo</a> * </td> <td class="paramname"> <em>block</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classdtn_1_1BundleProtocol.html#37b000d94172c06970bb8af32889f917">status_report_reason_t</a> * </td> <td class="paramname"> <em>reception_reason</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classdtn_1_1BundleProtocol.html#37b000d94172c06970bb8af32889f917">status_report_reason_t</a> * </td> <td class="paramname"> <em>deletion_reason</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Virtual from <a class="el" href="classdtn_1_1BlockProcessor.html" title="Base class for the protocol handling of bundle blocks, including the core primary...">BlockProcessor</a>. <p> <p>Reimplemented from <a class="el" href="classdtn_1_1BlockProcessor.html#14242dcdb094a179f718a5eaee23cabd">dtn::BlockProcessor</a>.</p> <p>Definition at line <a class="el" href="UnknownBlockProcessor_8cc-source.html#l00121">121</a> of file <a class="el" href="UnknownBlockProcessor_8cc-source.html">UnknownBlockProcessor.cc</a>.</p> <p>References <a class="el" href="BundleProtocol_8h-source.html#l00198">dtn::BundleProtocol::BLOCK_FLAG_DISCARD_BUNDLE_ONERROR</a>, <a class="el" href="BundleProtocol_8h-source.html#l00197">dtn::BundleProtocol::BLOCK_FLAG_REPORT_ONERROR</a>, <a class="el" href="BlockInfo_8cc-source.html#l00118">dtn::BlockInfo::flags()</a>, <a class="el" href="BundleProtocol_8h-source.html#l00132">dtn::BundleProtocol::REASON_BLOCK_UNINTELLIGIBLE</a>, and <a class="el" href="BlockProcessor_8cc-source.html#l00365">dtn::BlockProcessor::validate()</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="UnknownBlockProcessor_8h-source.html">UnknownBlockProcessor.h</a><li><a class="el" href="UnknownBlockProcessor_8cc-source.html">UnknownBlockProcessor.cc</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jul 21 14:09:52 2008 for DTN Reference Implementation by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>