Sophie

Sophie

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

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::BundleResponseList 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_1BundleResponseList.html">BundleResponseList</a>
  </div>
</div>
<div class="contents">
<h1>prophet::BundleResponseList Class Reference</h1><!-- doxytag: class="prophet::BundleResponseList" --><!-- doxytag: inherits="BundleEntryList&lt; BundleResponseEntry &gt;" -->In-memory representation of list of bundle response entries from a <a class="el" href="classprophet_1_1Bundle.html" title="Facade interface between Prophet router and host implmentation&#39;s Bundle representation...">Bundle</a> TLV sent by SEND_DR or REQUEST.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="BundleTLVEntryList_8h-source.html">BundleTLVEntryList.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for prophet::BundleResponseList:</div>
<div class="dynsection">

<p><center><img src="classprophet_1_1BundleResponseList.png" usemap="#prophet::BundleResponseList_map" border="0" alt=""></center>
<map name="prophet::BundleResponseList_map">
<area href="classprophet_1_1BundleEntryList.html" alt="prophet::BundleEntryList< BundleResponseEntry >" shape="rect" coords="0,0,297,24">
</map>
</div>

<p>
<a href="classprophet_1_1BundleResponseList-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_1BundleResponseList.html#045763840469f09d3d8550b1feda4978">BundleResponseList</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor.  <a href="#045763840469f09d3d8550b1feda4978"></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_1BundleResponseList.html#955e25bef4c1344eeba8dc8f4a9f93f9">~BundleResponseList</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#955e25bef4c1344eeba8dc8f4a9f93f9"></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_1BundleResponseList.html#bfb26b75e5a8c01aca8f4a20f9ccd390">add_response</a> (u_int32_t cts, u_int32_t seq, u_int16_t sid, <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> <a class="el" href="dtnperf-client_8c.html#160881851a33309c0106503ac4d14d96">custody</a>, <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> accept=true)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convenience wrapper around base class's add_entry.  <a href="#bfb26b75e5a8c01aca8f4a20f9ccd390"></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">virtual <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleResponseList.html#151fe4180ed5b0fd8b5dfa7d5e811b34">push_back</a> (<a class="el" href="classprophet_1_1BundleResponseEntry.html">BundleResponseEntry</a> *b)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add entry to back of list.  <a href="#151fe4180ed5b0fd8b5dfa7d5e811b34"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
In-memory representation of list of bundle response entries from a <a class="el" href="classprophet_1_1Bundle.html" title="Facade interface between Prophet router and host implmentation&#39;s Bundle representation...">Bundle</a> TLV sent by SEND_DR or REQUEST. 
<p>Definition at line <a class="el" href="BundleTLVEntryList_8h-source.html#l00281">281</a> of file <a class="el" href="BundleTLVEntryList_8h-source.html">BundleTLVEntryList.h</a>.</p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="045763840469f09d3d8550b1feda4978"></a><!-- doxytag: member="prophet::BundleResponseList::BundleResponseList" ref="045763840469f09d3d8550b1feda4978" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">prophet::BundleResponseList::BundleResponseList           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor. 
<p>

<p>Definition at line <a class="el" href="BundleTLVEntryList_8h-source.html#l00287">287</a> of file <a class="el" href="BundleTLVEntryList_8h-source.html">BundleTLVEntryList.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="955e25bef4c1344eeba8dc8f4a9f93f9"></a><!-- doxytag: member="prophet::BundleResponseList::~BundleResponseList" ref="955e25bef4c1344eeba8dc8f4a9f93f9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual prophet::BundleResponseList::~BundleResponseList           </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="BundleTLVEntryList_8h-source.html#l00293">293</a> of file <a class="el" href="BundleTLVEntryList_8h-source.html">BundleTLVEntryList.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="bfb26b75e5a8c01aca8f4a20f9ccd390"></a><!-- doxytag: member="prophet::BundleResponseList::add_response" ref="bfb26b75e5a8c01aca8f4a20f9ccd390" args="(u_int32_t cts, u_int32_t seq, u_int16_t sid, bool custody, bool accept=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> prophet::BundleResponseList::add_response           </td>
          <td>(</td>
          <td class="paramtype">u_int32_t&nbsp;</td>
          <td class="paramname"> <em>cts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u_int32_t&nbsp;</td>
          <td class="paramname"> <em>seq</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u_int16_t&nbsp;</td>
          <td class="paramname"> <em>sid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a>&nbsp;</td>
          <td class="paramname"> <em>custody</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a>&nbsp;</td>
          <td class="paramname"> <em>accept</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Convenience wrapper around base class's add_entry. 
<p>

<p>Definition at line <a class="el" href="BundleTLVEntryList_8h-source.html#l00298">298</a> of file <a class="el" href="BundleTLVEntryList_8h-source.html">BundleTLVEntryList.h</a>.</p>

<p>References <a class="el" href="BundleTLVEntryList_8h-source.html#l00081">prophet::BundleEntryList&lt; BundleResponseEntry &gt;::add_entry()</a>, and <a class="el" href="BundleTLVEntry_8h-source.html#l00042">prophet::BundleTLVEntry::RESPONSE</a>.</p>

<p>Referenced by <a class="el" href="ResponseTLV_8cc-source.html#l00080">prophet::ResponseTLV::deserialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="151fe4180ed5b0fd8b5dfa7d5e811b34"></a><!-- doxytag: member="prophet::BundleResponseList::push_back" ref="151fe4180ed5b0fd8b5dfa7d5e811b34" args="(BundleResponseEntry *b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> prophet::BundleResponseList::push_back           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classprophet_1_1BundleResponseEntry.html">BundleResponseEntry</a> *&nbsp;</td>
          <td class="paramname"> <em>bo</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add entry to back of list. 
<p>

<p>Implements <a class="el" href="classprophet_1_1BundleEntryList.html#11268583624d0c667de934f8354ba5a1">prophet::BundleEntryList&lt; BundleResponseEntry &gt;</a>.</p>

<p>Definition at line <a class="el" href="BundleTLVEntryList_8h-source.html#l00308">308</a> of file <a class="el" href="BundleTLVEntryList_8h-source.html">BundleTLVEntryList.h</a>.</p>

<p>References <a class="el" href="BundleTLVEntry_8h-source.html#l00135">prophet::BundleTLVEntry::creation_ts()</a>, <a class="el" href="BundleTLVEntryList_8h-source.html#l00118">prophet::BundleEntryList&lt; BundleResponseEntry &gt;::find()</a>, <a class="el" href="BundleTLVEntryList_8h-source.html#l00215">prophet::BundleEntryList&lt; BundleResponseEntry &gt;::list_</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00136">prophet::BundleTLVEntry::seqno()</a>, and <a class="el" href="BundleTLVEntry_8h-source.html#l00137">prophet::BundleTLVEntry::sid()</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="BundleTLVEntryList_8h-source.html">BundleTLVEntryList.h</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>