Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 29c369053a983cc5d8c880dc6e0a2237 > files > 1675

libdtn-devel-2.6.0-2mdv2009.1.i586.rpm

<!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: prophet::ResponseTLV Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;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&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceprophet.html">prophet</a>::<a class="el" href="classprophet_1_1ResponseTLV.html">ResponseTLV</a>
  </div>
</div>
<div class="contents">
<h1>prophet::ResponseTLV Class Reference</h1><!-- doxytag: class="prophet::ResponseTLV" --><!-- doxytag: inherits="prophet::BundleTLV" --><code>#include &lt;<a class="el" href="ResponseTLV_8h-source.html">ResponseTLV.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for prophet::ResponseTLV:</div>
<div class="dynsection">

<p><center><img src="classprophet_1_1ResponseTLV.png" usemap="#prophet::ResponseTLV_map" border="0" alt=""></center>
<map name="prophet::ResponseTLV_map">
<area href="classprophet_1_1BundleTLV.html" alt="prophet::BundleTLV" shape="rect" coords="0,56,139,80">
<area href="classprophet_1_1BaseTLV.html" alt="prophet::BaseTLV" shape="rect" coords="0,0,139,24">
</map>
</div>

<p>
<a href="classprophet_1_1ResponseTLV-members.html">List of all members.</a><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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ResponseTLV.html#8bc1b2c10a5f30f8aaf3b3f50bd560b2">ResponseTLV</a> (const <a class="el" href="classprophet_1_1BundleResponseList.html">BundleResponseList</a> &amp;list)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor.  <a href="#8bc1b2c10a5f30f8aaf3b3f50bd560b2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ResponseTLV.html#6bd1c2a12b457538f0c3eb83170a4086">~ResponseTLV</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#6bd1c2a12b457538f0c3eb83170a4086"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ResponseTLV.html#547a6db2abc38e7a5b7465b83f524966">serialize</a> (u_char *bp, size_t len) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Virtual from <a class="el" href="classprophet_1_1BaseTLV.html" title="The Prophet I-D (March 2006) dictates five bytecodes for router state exchange messages...">BaseTLV</a>.  <a href="#547a6db2abc38e7a5b7465b83f524966"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classprophet_1_1BundleResponseList.html">BundleResponseList</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ResponseTLV.html#e661376ffc2ba4afb996a1925b3e2426">list</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessors.  <a href="#e661376ffc2ba4afb996a1925b3e2426"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ResponseTLV.html#07f1b18a22e4a75776c6f098ef2dc9ea">ResponseTLV</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor.  <a href="#07f1b18a22e4a75776c6f098ef2dc9ea"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ResponseTLV.html#4ebb2b665c2708911b6a83df20717164">deserialize</a> (const u_char *bp, size_t len)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Virtual from <a class="el" href="classprophet_1_1BaseTLV.html" title="The Prophet I-D (March 2006) dictates five bytecodes for router state exchange messages...">BaseTLV</a>.  <a href="#4ebb2b665c2708911b6a83df20717164"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classprophet_1_1BundleResponseList.html">BundleResponseList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ResponseTLV.html#2095ca1150778670babbbce1c56f9724">list_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Priority sorted list of Bundles to request from peer.  <a href="#2095ca1150778670babbbce1c56f9724"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ResponseTLV.html#a7b858ef4c9684b1fc45add00a51b5fc">TLVFactory&lt; ResponseTLV &gt;</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>

<p>Definition at line <a class="el" href="ResponseTLV_8h-source.html#l00027">27</a> of file <a class="el" href="ResponseTLV_8h-source.html">ResponseTLV.h</a>.</p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="8bc1b2c10a5f30f8aaf3b3f50bd560b2"></a><!-- doxytag: member="prophet::ResponseTLV::ResponseTLV" ref="8bc1b2c10a5f30f8aaf3b3f50bd560b2" args="(const BundleResponseList &amp;list)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">prophet::ResponseTLV::ResponseTLV           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classprophet_1_1BundleResponseList.html">BundleResponseList</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>list</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor. 
<p>

<p>Definition at line <a class="el" href="ResponseTLV_8cc-source.html#l00026">26</a> of file <a class="el" href="ResponseTLV_8cc-source.html">ResponseTLV.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="6bd1c2a12b457538f0c3eb83170a4086"></a><!-- doxytag: member="prophet::ResponseTLV::~ResponseTLV" ref="6bd1c2a12b457538f0c3eb83170a4086" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual prophet::ResponseTLV::~ResponseTLV           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor. 
<p>

<p>Definition at line <a class="el" href="ResponseTLV_8h-source.html#l00038">38</a> of file <a class="el" href="ResponseTLV_8h-source.html">ResponseTLV.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="07f1b18a22e4a75776c6f098ef2dc9ea"></a><!-- doxytag: member="prophet::ResponseTLV::ResponseTLV" ref="07f1b18a22e4a75776c6f098ef2dc9ea" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">prophet::ResponseTLV::ResponseTLV           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor. 
<p>
Protected to force access through <a class="el" href="structprophet_1_1TLVFactory.html">TLVFactory</a>. 
<p>Definition at line <a class="el" href="ResponseTLV_8cc-source.html#l00023">23</a> of file <a class="el" href="ResponseTLV_8cc-source.html">ResponseTLV.cc</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="4ebb2b665c2708911b6a83df20717164"></a><!-- doxytag: member="prophet::ResponseTLV::deserialize" ref="4ebb2b665c2708911b6a83df20717164" args="(const u_char *bp, size_t len)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> prophet::ResponseTLV::deserialize           </td>
          <td>(</td>
          <td class="paramtype">const u_char *&nbsp;</td>
          <td class="paramname"> <em>bp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&nbsp;</td>
          <td class="paramname"> <em>len</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Virtual from <a class="el" href="classprophet_1_1BaseTLV.html" title="The Prophet I-D (March 2006) dictates five bytecodes for router state exchange messages...">BaseTLV</a>. 
<p>

<p>Implements <a class="el" href="classprophet_1_1BaseTLV.html#39a29c35a775a408b165921f61beec2d">prophet::BaseTLV</a>.</p>

<p>Definition at line <a class="el" href="ResponseTLV_8cc-source.html#l00080">80</a> of file <a class="el" href="ResponseTLV_8cc-source.html">ResponseTLV.cc</a>.</p>

<p>References <a class="el" href="BundleTLVEntryList_8h-source.html#l00298">prophet::BundleResponseList::add_response()</a>, <a class="el" href="BundleTLV_8h-source.html#l00116">prophet::BundleTLV::BundleEntrySize</a>, <a class="el" href="BundleTLV_8h-source.html#l00114">prophet::BundleTLV::BundleTLVHeaderSize</a>, <a class="el" href="dtncat_8c-source.html#l00052">custody</a>, <a class="el" href="BundleTLVEntryList_8h-source.html#l00071">prophet::BundleEntryList&lt; BundleEntryType &gt;::empty()</a>, <a class="el" href="BundleTLV_8h-source.html#l00051">prophet::BundleTLV::BundleTLV::BundleTLVHeader::flags</a>, <a class="el" href="BaseTLV_8h-source.html#l00126">prophet::BaseTLV::flags_</a>, <a class="el" href="BundleTLV_8h-source.html#l00056">prophet::BundleTLV::BundleTLV::BundleTLVHeader::length</a>, <a class="el" href="BaseTLV_8h-source.html#l00127">prophet::BaseTLV::length_</a>, <a class="el" href="ResponseTLV_8h-source.html#l00062">list_</a>, <a class="el" href="BundleTLV_8h-source.html#l00060">prophet::BundleTLV::BundleTLV::BundleTLVHeader::offer_count</a>, <a class="el" href="BundleTLV_8cc-source.html#l00049">prophet::BundleTLV::read_bundle_entry()</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00042">prophet::BundleTLVEntry::RESPONSE</a>, <a class="el" href="BaseTLV_8h-source.html#l00071">prophet::BaseTLV::RESPONSE_TLV</a>, <a class="el" href="BundleTLV_8h-source.html#l00050">prophet::BundleTLV::BundleTLV::BundleTLVHeader::type</a>, <a class="el" href="BaseTLV_8h-source.html#l00125">prophet::BaseTLV::typecode_</a>, and <a class="el" href="BundleTLVEntry_8h-source.html#l00040">prophet::BundleTLVEntry::UNDEFINED</a>.</p>

</div>
</div><p>
<a class="anchor" name="e661376ffc2ba4afb996a1925b3e2426"></a><!-- doxytag: member="prophet::ResponseTLV::list" ref="e661376ffc2ba4afb996a1925b3e2426" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classprophet_1_1BundleResponseList.html">BundleResponseList</a>&amp; prophet::ResponseTLV::list           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Accessors. 
<p>

<p>Definition at line <a class="el" href="ResponseTLV_8h-source.html#l00046">46</a> of file <a class="el" href="ResponseTLV_8h-source.html">ResponseTLV.h</a>.</p>

<p>References <a class="el" href="ResponseTLV_8h-source.html#l00062">list_</a>.</p>

</div>
</div><p>
<a class="anchor" name="547a6db2abc38e7a5b7465b83f524966"></a><!-- doxytag: member="prophet::ResponseTLV::serialize" ref="547a6db2abc38e7a5b7465b83f524966" args="(u_char *bp, size_t len) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t prophet::ResponseTLV::serialize           </td>
          <td>(</td>
          <td class="paramtype">u_char *&nbsp;</td>
          <td class="paramname"> <em>bp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&nbsp;</td>
          <td class="paramname"> <em>len</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Virtual from <a class="el" href="classprophet_1_1BaseTLV.html" title="The Prophet I-D (March 2006) dictates five bytecodes for router state exchange messages...">BaseTLV</a>. 
<p>

<p>Implements <a class="el" href="classprophet_1_1BaseTLV.html#18534e5841ee8447ca2c51cf299becd0">prophet::BaseTLV</a>.</p>

<p>Definition at line <a class="el" href="ResponseTLV_8cc-source.html#l00031">31</a> of file <a class="el" href="ResponseTLV_8cc-source.html">ResponseTLV.cc</a>.</p>

<p>References <a class="el" href="BundleTLVEntry_8h-source.html#l00139">prophet::BundleTLVEntry::accept()</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00140">prophet::BundleTLVEntry::ack()</a>, <a class="el" href="BundleTLVEntryList_8h-source.html#l00142">prophet::BundleEntryList&lt; BundleEntryType &gt;::begin()</a>, <a class="el" href="BundleTLV_8h-source.html#l00116">prophet::BundleTLV::BundleEntrySize</a>, <a class="el" href="BundleTLV_8h-source.html#l00114">prophet::BundleTLV::BundleTLVHeaderSize</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00135">prophet::BundleTLVEntry::creation_ts()</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00138">prophet::BundleTLVEntry::custody()</a>, <a class="el" href="BundleTLVEntryList_8h-source.html#l00143">prophet::BundleEntryList&lt; BundleEntryType &gt;::end()</a>, <a class="el" href="BundleTLV_8h-source.html#l00051">prophet::BundleTLV::BundleTLV::BundleTLVHeader::flags</a>, <a class="el" href="BundleTLVEntryList_8h-source.html#l00161">prophet::BundleEntryList&lt; BundleEntryType &gt;::guess_size()</a>, <a class="el" href="BundleTLV_8h-source.html#l00056">prophet::BundleTLV::BundleTLV::BundleTLVHeader::length</a>, <a class="el" href="BaseTLV_8h-source.html#l00127">prophet::BaseTLV::length_</a>, <a class="el" href="ResponseTLV_8h-source.html#l00062">list_</a>, <a class="el" href="BundleTLV_8h-source.html#l00060">prophet::BundleTLV::BundleTLV::BundleTLVHeader::offer_count</a>, <a class="el" href="BaseTLV_8h-source.html#l00071">prophet::BaseTLV::RESPONSE_TLV</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00136">prophet::BundleTLVEntry::seqno()</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00137">prophet::BundleTLVEntry::sid()</a>, <a class="el" href="BundleTLVEntryList_8h-source.html#l00066">prophet::BundleEntryList&lt; BundleEntryType &gt;::size()</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00141">prophet::BundleTLVEntry::type()</a>, <a class="el" href="BundleTLV_8h-source.html#l00050">prophet::BundleTLV::BundleTLV::BundleTLVHeader::type</a>, <a class="el" href="BaseTLV_8h-source.html#l00125">prophet::BaseTLV::typecode_</a>, and <a class="el" href="BundleTLV_8cc-source.html#l00023">prophet::BundleTLV::write_bundle_entry()</a>.</p>

</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="a7b858ef4c9684b1fc45add00a51b5fc"></a><!-- doxytag: member="prophet::ResponseTLV::TLVFactory&lt; ResponseTLV &gt;" ref="a7b858ef4c9684b1fc45add00a51b5fc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="structprophet_1_1TLVFactory.html">TLVFactory</a>&lt; <a class="el" href="classprophet_1_1ResponseTLV.html">ResponseTLV</a> &gt;<code> [friend]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="ResponseTLV_8h-source.html#l00050">50</a> of file <a class="el" href="ResponseTLV_8h-source.html">ResponseTLV.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="2095ca1150778670babbbce1c56f9724"></a><!-- doxytag: member="prophet::ResponseTLV::list_" ref="2095ca1150778670babbbce1c56f9724" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classprophet_1_1BundleResponseList.html">BundleResponseList</a> <a class="el" href="classprophet_1_1ResponseTLV.html#2095ca1150778670babbbce1c56f9724">prophet::ResponseTLV::list_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Priority sorted list of Bundles to request from peer. 
<p>

<p>Definition at line <a class="el" href="ResponseTLV_8h-source.html#l00062">62</a> of file <a class="el" href="ResponseTLV_8h-source.html">ResponseTLV.h</a>.</p>

<p>Referenced by <a class="el" href="ResponseTLV_8cc-source.html#l00080">deserialize()</a>, <a class="el" href="ResponseTLV_8h-source.html#l00046">list()</a>, and <a class="el" href="ResponseTLV_8cc-source.html#l00031">serialize()</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ResponseTLV_8h-source.html">ResponseTLV.h</a><li><a class="el" href="ResponseTLV_8cc-source.html">ResponseTLV.cc</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jan 30 09:27:06 2009 for DTN Reference Implementation by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>