Sophie

Sophie

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

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::BundleTLVEntry 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_1BundleTLVEntry.html">BundleTLVEntry</a>
  </div>
</div>
<div class="contents">
<h1>prophet::BundleTLVEntry Class Reference</h1><!-- doxytag: class="prophet::BundleTLVEntry" --><a class="el" href="classprophet_1_1BundleTLVEntry.html" title="BundleTLVEntry is the in-memory representation of an element listed within the Bundle...">BundleTLVEntry</a> is the in-memory representation of an element listed within the <a class="el" href="classprophet_1_1Bundle.html" title="Facade interface between Prophet router and host implmentation&#39;s Bundle representation...">Bundle</a> Offer and Response TLV, p.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for prophet::BundleTLVEntry:</div>
<div class="dynsection">

<p><center><img src="classprophet_1_1BundleTLVEntry.png" usemap="#prophet::BundleTLVEntry_map" border="0" alt=""></center>
<map name="prophet::BundleTLVEntry_map">
<area href="classprophet_1_1BundleOfferEntry.html" alt="prophet::BundleOfferEntry" shape="rect" coords="0,56,185,80">
<area href="classprophet_1_1BundleResponseEntry.html" alt="prophet::BundleResponseEntry" shape="rect" coords="195,56,380,80">
</map>
</div>

<p>
<a href="classprophet_1_1BundleTLVEntry-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 Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleTLVEntry.html#ba508cc555c3c88394dc4659c7e0d321">bundle_entry_t</a> { <a class="el" href="classprophet_1_1BundleTLVEntry.html#ba508cc555c3c88394dc4659c7e0d3215a1a084212865f78c542f8c458201a19">UNDEFINED</a> =  0, 
<a class="el" href="classprophet_1_1BundleTLVEntry.html#ba508cc555c3c88394dc4659c7e0d321fa6f7dc01f904230e508005e6f942085">OFFER</a>, 
<a class="el" href="classprophet_1_1BundleTLVEntry.html#ba508cc555c3c88394dc4659c7e0d321e191d0ebeaab2e6ea1e63a773b404c23">RESPONSE</a>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A <a class="el" href="classprophet_1_1BundleTLVEntry.html" title="BundleTLVEntry is the in-memory representation of an element listed within the Bundle...">BundleTLVEntry</a> can represent either an OFFER or a RESPONSE, depending on what is inferred from the flags.  <a href="classprophet_1_1BundleTLVEntry.html#ba508cc555c3c88394dc4659c7e0d321">More...</a><br></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_1BundleTLVEntry.html#d10a70adc2d5bcab225fcea9d4492f04">BundleTLVEntry</a> (const <a class="el" href="classprophet_1_1BundleTLVEntry.html">BundleTLVEntry</a> &amp;b)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy constructor.  <a href="#d10a70adc2d5bcab225fcea9d4492f04"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classprophet_1_1BundleTLVEntry.html">BundleTLVEntry</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleTLVEntry.html#cc3dbd595a47c2f084f16e012e7ee843">operator=</a> (const <a class="el" href="classprophet_1_1BundleTLVEntry.html">BundleTLVEntry</a> &amp;b)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Assignment operator.  <a href="#cc3dbd595a47c2f084f16e012e7ee843"></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_1BundleTLVEntry.html#e7f0752044aafec1892ccaa0f76619b6">~BundleTLVEntry</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#e7f0752044aafec1892ccaa0f76619b6"></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_1BundleTLVEntry.html#6689ca31895480a7a9cbf9727ed53687">operator&lt;</a> (const <a class="el" href="classprophet_1_1BundleTLVEntry.html">BundleTLVEntry</a> &amp;b) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Comparison operator to facilitate STL sorting.  <a href="#6689ca31895480a7a9cbf9727ed53687"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u_int32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleTLVEntry.html#1cf4b89ca8699e54a91e04dd4fc7c86e">creation_ts</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessors.  <a href="#1cf4b89ca8699e54a91e04dd4fc7c86e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u_int32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleTLVEntry.html#f53626463b117791141a4c6e1367eecc">seqno</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessors.  <a href="#f53626463b117791141a4c6e1367eecc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u_int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleTLVEntry.html#c470331376431b7ac04bc76578011298">sid</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessors.  <a href="#c470331376431b7ac04bc76578011298"></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_1BundleTLVEntry.html#b0ed670f0d842a2f68a527e72c14d266">custody</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessors.  <a href="#b0ed670f0d842a2f68a527e72c14d266"></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_1BundleTLVEntry.html#40379b850503c0a3d9c9bc8bd1143abb">accept</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessors.  <a href="#40379b850503c0a3d9c9bc8bd1143abb"></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_1BundleTLVEntry.html#6743ec6543c7e9051d68fc2bf3b166a4">ack</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessors.  <a href="#6743ec6543c7e9051d68fc2bf3b166a4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classprophet_1_1BundleTLVEntry.html#ba508cc555c3c88394dc4659c7e0d321">bundle_entry_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleTLVEntry.html#2d97556fa7fb52f5a8b041b463f59e72">type</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessors.  <a href="#2d97556fa7fb52f5a8b041b463f59e72"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleTLVEntry.html#b52386caaeaf3c96b15a29d7927da3ef">type_to_str</a> (<a class="el" href="classprophet_1_1BundleTLVEntry.html#ba508cc555c3c88394dc4659c7e0d321">bundle_entry_t</a> type)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convenience function.  <a href="#b52386caaeaf3c96b15a29d7927da3ef"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classprophet_1_1BundleTLVEntry.html">BundleTLVEntry</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleTLVEntry.html#089ac2402ce89d32e972398bf200d0e8">create_entry</a> (u_int32_t cts, u_int32_t seq, u_int16_t sid, <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> custody, <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> accept, <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> ack)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Factory method for convenience.  <a href="#089ac2402ce89d32e972398bf200d0e8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classprophet_1_1BundleTLVEntry.html#ba508cc555c3c88394dc4659c7e0d321">bundle_entry_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleTLVEntry.html#a183aaa6d8be0194a725569221b7cfc1">decode_flags</a> (<a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> custody, <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> accept, <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> ack)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Utility function to decipher which Bundle_X_Entry type based on the combination of flags.  <a href="#a183aaa6d8be0194a725569221b7cfc1"></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_1BundleTLVEntry.html#9bb642b53f08bee90fa25fcb60774bfc">BundleTLVEntry</a> (<a class="el" href="classprophet_1_1BundleTLVEntry.html#ba508cc555c3c88394dc4659c7e0d321">bundle_entry_t</a> type=UNDEFINED)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor, only used by friend classes.  <a href="#9bb642b53f08bee90fa25fcb60774bfc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleTLVEntry.html#4e3429cdec08b979393db20b7f9f8826">BundleTLVEntry</a> (u_int32_t cts, u_int32_t seq, u_int16_t sid, <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> custody=false, <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> accept=false, <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> ack=false, <a class="el" href="classprophet_1_1BundleTLVEntry.html#ba508cc555c3c88394dc4659c7e0d321">bundle_entry_t</a> type=UNDEFINED)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor, only to be used by factory methods and friend classes.  <a href="#4e3429cdec08b979393db20b7f9f8826"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleTLVEntry.html#5cb393b60bbd08881defa22344c62405">init_type</a> (<a class="el" href="classprophet_1_1BundleTLVEntry.html#ba508cc555c3c88394dc4659c7e0d321">bundle_entry_t</a> type)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Initialization routine used by constructors and assignment operator.  <a href="#5cb393b60bbd08881defa22344c62405"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u_int32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleTLVEntry.html#da4b202bfb5780221d4949e2b951cd06">cts_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creation timestamp.  <a href="#da4b202bfb5780221d4949e2b951cd06"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u_int32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleTLVEntry.html#fc0dc2b810ee9b64be26f0ef2081b68a">seq_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">sub-second sequence number  <a href="#fc0dc2b810ee9b64be26f0ef2081b68a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u_int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleTLVEntry.html#4dacd6257bd789f44faa7b74d10fb0eb">sid_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">string id of bundle destination  <a href="#4dacd6257bd789f44faa7b74d10fb0eb"></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_1BundleTLVEntry.html#7e050855117cdc73b8de2970259b82fe">custody_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">whether this node accepts custody  <a href="#7e050855117cdc73b8de2970259b82fe"></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_1BundleTLVEntry.html#4a3b595763fffb973bc372fa03d0ca94">accept_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">whether this <a class="el" href="classprophet_1_1Bundle.html" title="Facade interface between Prophet router and host implmentation&#39;s Bundle representation...">Bundle</a> Entry is accepted  <a href="#4a3b595763fffb973bc372fa03d0ca94"></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_1BundleTLVEntry.html#56d63a2a39c6a8a3a2ce1e22e848dc0b">ack_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">represents successful Prophet delivery for bundle  <a href="#56d63a2a39c6a8a3a2ce1e22e848dc0b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classprophet_1_1BundleTLVEntry.html#ba508cc555c3c88394dc4659c7e0d321">bundle_entry_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1BundleTLVEntry.html#6b00417a2c42aab78046453a822f25c1">type_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">indicates whether offer or response TLV  <a href="#6b00417a2c42aab78046453a822f25c1"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classprophet_1_1BundleTLVEntry.html" title="BundleTLVEntry is the in-memory representation of an element listed within the Bundle...">BundleTLVEntry</a> is the in-memory representation of an element listed within the <a class="el" href="classprophet_1_1Bundle.html" title="Facade interface between Prophet router and host implmentation&#39;s Bundle representation...">Bundle</a> Offer and Response TLV, p. 
<p>
30, 4.4.5 
<p>Definition at line <a class="el" href="BundleTLVEntry_8h-source.html#l00031">31</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="ba508cc555c3c88394dc4659c7e0d321"></a><!-- doxytag: member="prophet::BundleTLVEntry::bundle_entry_t" ref="ba508cc555c3c88394dc4659c7e0d321" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classprophet_1_1BundleTLVEntry.html#ba508cc555c3c88394dc4659c7e0d321">prophet::BundleTLVEntry::bundle_entry_t</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A <a class="el" href="classprophet_1_1BundleTLVEntry.html" title="BundleTLVEntry is the in-memory representation of an element listed within the Bundle...">BundleTLVEntry</a> can represent either an OFFER or a RESPONSE, depending on what is inferred from the flags. 
<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="ba508cc555c3c88394dc4659c7e0d3215a1a084212865f78c542f8c458201a19"></a><!-- doxytag: member="UNDEFINED" ref="ba508cc555c3c88394dc4659c7e0d3215a1a084212865f78c542f8c458201a19" args="" -->UNDEFINED</em>&nbsp;</td><td>
no valid type has been specified </td></tr>
<tr><td valign="top"><em><a class="anchor" name="ba508cc555c3c88394dc4659c7e0d321fa6f7dc01f904230e508005e6f942085"></a><!-- doxytag: member="OFFER" ref="ba508cc555c3c88394dc4659c7e0d321fa6f7dc01f904230e508005e6f942085" args="" -->OFFER</em>&nbsp;</td><td>
<a class="el" href="classprophet_1_1Bundle.html" title="Facade interface between Prophet router and host implmentation&#39;s Bundle representation...">Bundle</a> OFFER. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="ba508cc555c3c88394dc4659c7e0d321e191d0ebeaab2e6ea1e63a773b404c23"></a><!-- doxytag: member="RESPONSE" ref="ba508cc555c3c88394dc4659c7e0d321e191d0ebeaab2e6ea1e63a773b404c23" args="" -->RESPONSE</em>&nbsp;</td><td>
<a class="el" href="classprophet_1_1Bundle.html" title="Facade interface between Prophet router and host implmentation&#39;s Bundle representation...">Bundle</a> RESPONSE. </td></tr>
</table>
</dl>

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

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="9bb642b53f08bee90fa25fcb60774bfc"></a><!-- doxytag: member="prophet::BundleTLVEntry::BundleTLVEntry" ref="9bb642b53f08bee90fa25fcb60774bfc" args="(bundle_entry_t type=UNDEFINED)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">prophet::BundleTLVEntry::BundleTLVEntry           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classprophet_1_1BundleTLVEntry.html#ba508cc555c3c88394dc4659c7e0d321">bundle_entry_t</a>&nbsp;</td>
          <td class="paramname"> <em>type</em> = <code>UNDEFINED</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Default constructor, only used by friend classes. 
<p>

<p>Definition at line <a class="el" href="BundleTLVEntry_8h-source.html#l00070">70</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="4e3429cdec08b979393db20b7f9f8826"></a><!-- doxytag: member="prophet::BundleTLVEntry::BundleTLVEntry" ref="4e3429cdec08b979393db20b7f9f8826" args="(u_int32_t cts, u_int32_t seq, u_int16_t sid, bool custody=false, bool accept=false, bool ack=false, bundle_entry_t type=UNDEFINED)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">prophet::BundleTLVEntry::BundleTLVEntry           </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> = <code>false</code>, </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>false</code>, </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>ack</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classprophet_1_1BundleTLVEntry.html#ba508cc555c3c88394dc4659c7e0d321">bundle_entry_t</a>&nbsp;</td>
          <td class="paramname"> <em>type</em> = <code>UNDEFINED</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor, only to be used by factory methods and friend classes. 
<p>

<p>Definition at line <a class="el" href="BundleTLVEntry_8h-source.html#l00077">77</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>References <a class="el" href="BundleTLVEntry_8h-source.html#l00185">init_type()</a>, and <a class="el" href="BundleTLVEntry_8h-source.html#l00141">type()</a>.</p>

</div>
</div><p>
<a class="anchor" name="d10a70adc2d5bcab225fcea9d4492f04"></a><!-- doxytag: member="prophet::BundleTLVEntry::BundleTLVEntry" ref="d10a70adc2d5bcab225fcea9d4492f04" args="(const BundleTLVEntry &amp;b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">prophet::BundleTLVEntry::BundleTLVEntry           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classprophet_1_1BundleTLVEntry.html">BundleTLVEntry</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>b</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Copy constructor. 
<p>

<p>Definition at line <a class="el" href="BundleTLVEntry_8h-source.html#l00090">90</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>References <a class="el" href="BundleTLVEntry_8h-source.html#l00185">init_type()</a>, and <a class="el" href="BundleTLVEntry_8h-source.html#l00222">type_</a>.</p>

</div>
</div><p>
<a class="anchor" name="e7f0752044aafec1892ccaa0f76619b6"></a><!-- doxytag: member="prophet::BundleTLVEntry::~BundleTLVEntry" ref="e7f0752044aafec1892ccaa0f76619b6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual prophet::BundleTLVEntry::~BundleTLVEntry           </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="BundleTLVEntry_8h-source.html#l00116">116</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="40379b850503c0a3d9c9bc8bd1143abb"></a><!-- doxytag: member="prophet::BundleTLVEntry::accept" ref="40379b850503c0a3d9c9bc8bd1143abb" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> prophet::BundleTLVEntry::accept           </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="BundleTLVEntry_8h-source.html#l00139">139</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>References <a class="el" href="BundleTLVEntry_8h-source.html#l00220">accept_</a>.</p>

<p>Referenced by <a class="el" href="ResponseTLV_8cc-source.html#l00031">prophet::ResponseTLV::serialize()</a>, and <a class="el" href="OfferTLV_8cc-source.html#l00031">prophet::OfferTLV::serialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="6743ec6543c7e9051d68fc2bf3b166a4"></a><!-- doxytag: member="prophet::BundleTLVEntry::ack" ref="6743ec6543c7e9051d68fc2bf3b166a4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> prophet::BundleTLVEntry::ack           </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="BundleTLVEntry_8h-source.html#l00140">140</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>References <a class="el" href="BundleTLVEntry_8h-source.html#l00221">ack_</a>.</p>

<p>Referenced by <a class="el" href="ResponseTLV_8cc-source.html#l00031">prophet::ResponseTLV::serialize()</a>, and <a class="el" href="OfferTLV_8cc-source.html#l00031">prophet::OfferTLV::serialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="089ac2402ce89d32e972398bf200d0e8"></a><!-- doxytag: member="prophet::BundleTLVEntry::create_entry" ref="089ac2402ce89d32e972398bf200d0e8" args="(u_int32_t cts, u_int32_t seq, u_int16_t sid, bool custody, bool accept, bool ack)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classprophet_1_1BundleTLVEntry.html">BundleTLVEntry</a> * prophet::BundleTLVEntry::create_entry           </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>, </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>ack</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Factory method for convenience. 
<p>

<p>Definition at line <a class="el" href="BundleTLVEntry_8h-source.html#l00303">303</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>References <a class="el" href="BundleTLVEntry_8h-source.html#l00148">decode_flags()</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00041">OFFER</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00042">RESPONSE</a>, and <a class="el" href="BundleTLVEntry_8h-source.html#l00040">UNDEFINED</a>.</p>

<p>Referenced by <a class="el" href="BundleTLVEntryList_8h-source.html#l00178">prophet::BundleEntryList&lt; BundleResponseEntry &gt;::add_entry()</a>.</p>

</div>
</div><p>
<a class="anchor" name="1cf4b89ca8699e54a91e04dd4fc7c86e"></a><!-- doxytag: member="prophet::BundleTLVEntry::creation_ts" ref="1cf4b89ca8699e54a91e04dd4fc7c86e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int32_t prophet::BundleTLVEntry::creation_ts           </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="BundleTLVEntry_8h-source.html#l00135">135</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>References <a class="el" href="BundleTLVEntry_8h-source.html#l00216">cts_</a>.</p>

<p>Referenced by <a class="el" href="BundleTLVEntryList_8h-source.html#l00308">prophet::BundleResponseList::push_back()</a>, <a class="el" href="BundleTLVEntryList_8h-source.html#l00265">prophet::BundleOfferList::push_back()</a>, <a class="el" href="ResponseTLV_8cc-source.html#l00031">prophet::ResponseTLV::serialize()</a>, and <a class="el" href="OfferTLV_8cc-source.html#l00031">prophet::OfferTLV::serialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="b0ed670f0d842a2f68a527e72c14d266"></a><!-- doxytag: member="prophet::BundleTLVEntry::custody" ref="b0ed670f0d842a2f68a527e72c14d266" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> prophet::BundleTLVEntry::custody           </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="BundleTLVEntry_8h-source.html#l00138">138</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>References <a class="el" href="BundleTLVEntry_8h-source.html#l00219">custody_</a>.</p>

<p>Referenced by <a class="el" href="ResponseTLV_8cc-source.html#l00031">prophet::ResponseTLV::serialize()</a>, and <a class="el" href="OfferTLV_8cc-source.html#l00031">prophet::OfferTLV::serialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="a183aaa6d8be0194a725569221b7cfc1"></a><!-- doxytag: member="prophet::BundleTLVEntry::decode_flags" ref="a183aaa6d8be0194a725569221b7cfc1" args="(bool custody, bool accept, bool ack)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classprophet_1_1BundleTLVEntry.html#ba508cc555c3c88394dc4659c7e0d321">bundle_entry_t</a> prophet::BundleTLVEntry::decode_flags           </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>, </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>ack</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Utility function to decipher which Bundle_X_Entry type based on the combination of flags. 
<p>

<p>Definition at line <a class="el" href="BundleTLVEntry_8h-source.html#l00148">148</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>References <a class="el" href="BundleTLVEntry_8h-source.html#l00041">OFFER</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00042">RESPONSE</a>, and <a class="el" href="BundleTLVEntry_8h-source.html#l00040">UNDEFINED</a>.</p>

<p>Referenced by <a class="el" href="BundleTLVEntry_8h-source.html#l00303">create_entry()</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00185">init_type()</a>, and <a class="el" href="BundleTLV_8cc-source.html#l00049">prophet::BundleTLV::read_bundle_entry()</a>.</p>

</div>
</div><p>
<a class="anchor" name="5cb393b60bbd08881defa22344c62405"></a><!-- doxytag: member="prophet::BundleTLVEntry::init_type" ref="5cb393b60bbd08881defa22344c62405" args="(bundle_entry_t type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void prophet::BundleTLVEntry::init_type           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classprophet_1_1BundleTLVEntry.html#ba508cc555c3c88394dc4659c7e0d321">bundle_entry_t</a>&nbsp;</td>
          <td class="paramname"> <em>type</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Initialization routine used by constructors and assignment operator. 
<p>

<p>Definition at line <a class="el" href="BundleTLVEntry_8h-source.html#l00185">185</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>References <a class="el" href="BundleTLVEntry_8h-source.html#l00220">accept_</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00221">ack_</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00219">custody_</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00148">decode_flags()</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00222">type_</a>, and <a class="el" href="BundleTLVEntry_8h-source.html#l00040">UNDEFINED</a>.</p>

<p>Referenced by <a class="el" href="BundleTLVEntry_8h-source.html#l00077">BundleTLVEntry()</a>, and <a class="el" href="BundleTLVEntry_8h-source.html#l00100">operator=()</a>.</p>

</div>
</div><p>
<a class="anchor" name="6689ca31895480a7a9cbf9727ed53687"></a><!-- doxytag: member="prophet::BundleTLVEntry::operator&lt;" ref="6689ca31895480a7a9cbf9727ed53687" args="(const BundleTLVEntry &amp;b) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> prophet::BundleTLVEntry::operator&lt;           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classprophet_1_1BundleTLVEntry.html">BundleTLVEntry</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>b</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Comparison operator to facilitate STL sorting. 
<p>

<p>Definition at line <a class="el" href="BundleTLVEntry_8h-source.html#l00121">121</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>References <a class="el" href="BundleTLVEntry_8h-source.html#l00216">cts_</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00217">seq_</a>, and <a class="el" href="BundleTLVEntry_8h-source.html#l00218">sid_</a>.</p>

</div>
</div><p>
<a class="anchor" name="cc3dbd595a47c2f084f16e012e7ee843"></a><!-- doxytag: member="prophet::BundleTLVEntry::operator=" ref="cc3dbd595a47c2f084f16e012e7ee843" args="(const BundleTLVEntry &amp;b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classprophet_1_1BundleTLVEntry.html">BundleTLVEntry</a>&amp; prophet::BundleTLVEntry::operator=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classprophet_1_1BundleTLVEntry.html">BundleTLVEntry</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>b</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Assignment operator. 
<p>

<p>Definition at line <a class="el" href="BundleTLVEntry_8h-source.html#l00100">100</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>References <a class="el" href="BundleTLVEntry_8h-source.html#l00220">accept_</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00221">ack_</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00216">cts_</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00219">custody_</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00185">init_type()</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00217">seq_</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00218">sid_</a>, and <a class="el" href="BundleTLVEntry_8h-source.html#l00222">type_</a>.</p>

</div>
</div><p>
<a class="anchor" name="f53626463b117791141a4c6e1367eecc"></a><!-- doxytag: member="prophet::BundleTLVEntry::seqno" ref="f53626463b117791141a4c6e1367eecc" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int32_t prophet::BundleTLVEntry::seqno           </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="BundleTLVEntry_8h-source.html#l00136">136</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>References <a class="el" href="BundleTLVEntry_8h-source.html#l00217">seq_</a>.</p>

<p>Referenced by <a class="el" href="BundleTLVEntryList_8h-source.html#l00308">prophet::BundleResponseList::push_back()</a>, <a class="el" href="BundleTLVEntryList_8h-source.html#l00265">prophet::BundleOfferList::push_back()</a>, <a class="el" href="ResponseTLV_8cc-source.html#l00031">prophet::ResponseTLV::serialize()</a>, and <a class="el" href="OfferTLV_8cc-source.html#l00031">prophet::OfferTLV::serialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c470331376431b7ac04bc76578011298"></a><!-- doxytag: member="prophet::BundleTLVEntry::sid" ref="c470331376431b7ac04bc76578011298" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int16_t prophet::BundleTLVEntry::sid           </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="BundleTLVEntry_8h-source.html#l00137">137</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>References <a class="el" href="BundleTLVEntry_8h-source.html#l00218">sid_</a>.</p>

<p>Referenced by <a class="el" href="BundleTLVEntryList_8h-source.html#l00308">prophet::BundleResponseList::push_back()</a>, <a class="el" href="BundleTLVEntryList_8h-source.html#l00265">prophet::BundleOfferList::push_back()</a>, <a class="el" href="ResponseTLV_8cc-source.html#l00031">prophet::ResponseTLV::serialize()</a>, and <a class="el" href="OfferTLV_8cc-source.html#l00031">prophet::OfferTLV::serialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="2d97556fa7fb52f5a8b041b463f59e72"></a><!-- doxytag: member="prophet::BundleTLVEntry::type" ref="2d97556fa7fb52f5a8b041b463f59e72" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classprophet_1_1BundleTLVEntry.html#ba508cc555c3c88394dc4659c7e0d321">bundle_entry_t</a> prophet::BundleTLVEntry::type           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Accessors. 
<p>

<p>Definition at line <a class="el" href="BundleTLVEntry_8h-source.html#l00141">141</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>References <a class="el" href="BundleTLVEntry_8h-source.html#l00222">type_</a>.</p>

<p>Referenced by <a class="el" href="BundleTLVEntryList_8h-source.html#l00178">prophet::BundleEntryList&lt; BundleResponseEntry &gt;::add_entry()</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00077">BundleTLVEntry()</a>, <a class="el" href="ResponseTLV_8cc-source.html#l00031">prophet::ResponseTLV::serialize()</a>, and <a class="el" href="OfferTLV_8cc-source.html#l00031">prophet::OfferTLV::serialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="b52386caaeaf3c96b15a29d7927da3ef"></a><!-- doxytag: member="prophet::BundleTLVEntry::type_to_str" ref="b52386caaeaf3c96b15a29d7927da3ef" args="(bundle_entry_t type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static const char* prophet::BundleTLVEntry::type_to_str           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classprophet_1_1BundleTLVEntry.html#ba508cc555c3c88394dc4659c7e0d321">bundle_entry_t</a>&nbsp;</td>
          <td class="paramname"> <em>type</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Convenience function. 
<p>

<p>Definition at line <a class="el" href="BundleTLVEntry_8h-source.html#l00048">48</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>References <a class="el" href="BundleTLVEntry_8h-source.html#l00041">OFFER</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00042">RESPONSE</a>, and <a class="el" href="BundleTLVEntry_8h-source.html#l00040">UNDEFINED</a>.</p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="4a3b595763fffb973bc372fa03d0ca94"></a><!-- doxytag: member="prophet::BundleTLVEntry::accept_" ref="4a3b595763fffb973bc372fa03d0ca94" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> <a class="el" href="classprophet_1_1BundleTLVEntry.html#4a3b595763fffb973bc372fa03d0ca94">prophet::BundleTLVEntry::accept_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
whether this <a class="el" href="classprophet_1_1Bundle.html" title="Facade interface between Prophet router and host implmentation&#39;s Bundle representation...">Bundle</a> Entry is accepted 
<p>

<p>Definition at line <a class="el" href="BundleTLVEntry_8h-source.html#l00220">220</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>Referenced by <a class="el" href="BundleTLVEntry_8h-source.html#l00139">accept()</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00185">init_type()</a>, and <a class="el" href="BundleTLVEntry_8h-source.html#l00100">operator=()</a>.</p>

</div>
</div><p>
<a class="anchor" name="56d63a2a39c6a8a3a2ce1e22e848dc0b"></a><!-- doxytag: member="prophet::BundleTLVEntry::ack_" ref="56d63a2a39c6a8a3a2ce1e22e848dc0b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> <a class="el" href="classprophet_1_1BundleTLVEntry.html#56d63a2a39c6a8a3a2ce1e22e848dc0b">prophet::BundleTLVEntry::ack_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
represents successful Prophet delivery for bundle 
<p>

<p>Definition at line <a class="el" href="BundleTLVEntry_8h-source.html#l00221">221</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>Referenced by <a class="el" href="BundleTLVEntry_8h-source.html#l00140">ack()</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00185">init_type()</a>, and <a class="el" href="BundleTLVEntry_8h-source.html#l00100">operator=()</a>.</p>

</div>
</div><p>
<a class="anchor" name="da4b202bfb5780221d4949e2b951cd06"></a><!-- doxytag: member="prophet::BundleTLVEntry::cts_" ref="da4b202bfb5780221d4949e2b951cd06" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int32_t <a class="el" href="classprophet_1_1BundleTLVEntry.html#da4b202bfb5780221d4949e2b951cd06">prophet::BundleTLVEntry::cts_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creation timestamp. 
<p>

<p>Definition at line <a class="el" href="BundleTLVEntry_8h-source.html#l00216">216</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>Referenced by <a class="el" href="BundleTLVEntry_8h-source.html#l00135">creation_ts()</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00121">operator&lt;()</a>, and <a class="el" href="BundleTLVEntry_8h-source.html#l00100">operator=()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7e050855117cdc73b8de2970259b82fe"></a><!-- doxytag: member="prophet::BundleTLVEntry::custody_" ref="7e050855117cdc73b8de2970259b82fe" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> <a class="el" href="classprophet_1_1BundleTLVEntry.html#7e050855117cdc73b8de2970259b82fe">prophet::BundleTLVEntry::custody_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
whether this node accepts custody 
<p>

<p>Definition at line <a class="el" href="BundleTLVEntry_8h-source.html#l00219">219</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>Referenced by <a class="el" href="BundleTLVEntry_8h-source.html#l00138">custody()</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00185">init_type()</a>, and <a class="el" href="BundleTLVEntry_8h-source.html#l00100">operator=()</a>.</p>

</div>
</div><p>
<a class="anchor" name="fc0dc2b810ee9b64be26f0ef2081b68a"></a><!-- doxytag: member="prophet::BundleTLVEntry::seq_" ref="fc0dc2b810ee9b64be26f0ef2081b68a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int32_t <a class="el" href="classprophet_1_1BundleTLVEntry.html#fc0dc2b810ee9b64be26f0ef2081b68a">prophet::BundleTLVEntry::seq_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
sub-second sequence number 
<p>

<p>Definition at line <a class="el" href="BundleTLVEntry_8h-source.html#l00217">217</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>Referenced by <a class="el" href="BundleTLVEntry_8h-source.html#l00121">operator&lt;()</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00100">operator=()</a>, and <a class="el" href="BundleTLVEntry_8h-source.html#l00136">seqno()</a>.</p>

</div>
</div><p>
<a class="anchor" name="4dacd6257bd789f44faa7b74d10fb0eb"></a><!-- doxytag: member="prophet::BundleTLVEntry::sid_" ref="4dacd6257bd789f44faa7b74d10fb0eb" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int16_t <a class="el" href="classprophet_1_1BundleTLVEntry.html#4dacd6257bd789f44faa7b74d10fb0eb">prophet::BundleTLVEntry::sid_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
string id of bundle destination 
<p>

<p>Definition at line <a class="el" href="BundleTLVEntry_8h-source.html#l00218">218</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>Referenced by <a class="el" href="BundleTLVEntry_8h-source.html#l00121">operator&lt;()</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00100">operator=()</a>, and <a class="el" href="BundleTLVEntry_8h-source.html#l00137">sid()</a>.</p>

</div>
</div><p>
<a class="anchor" name="6b00417a2c42aab78046453a822f25c1"></a><!-- doxytag: member="prophet::BundleTLVEntry::type_" ref="6b00417a2c42aab78046453a822f25c1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classprophet_1_1BundleTLVEntry.html#ba508cc555c3c88394dc4659c7e0d321">bundle_entry_t</a> <a class="el" href="classprophet_1_1BundleTLVEntry.html#6b00417a2c42aab78046453a822f25c1">prophet::BundleTLVEntry::type_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
indicates whether offer or response TLV 
<p>

<p>Definition at line <a class="el" href="BundleTLVEntry_8h-source.html#l00222">222</a> of file <a class="el" href="BundleTLVEntry_8h-source.html">BundleTLVEntry.h</a>.</p>

<p>Referenced by <a class="el" href="BundleTLVEntry_8h-source.html#l00258">prophet::BundleOfferEntry::BundleOfferEntry()</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00296">prophet::BundleResponseEntry::BundleResponseEntry()</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00090">BundleTLVEntry()</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00185">init_type()</a>, <a class="el" href="BundleTLVEntry_8h-source.html#l00100">operator=()</a>, and <a class="el" href="BundleTLVEntry_8h-source.html#l00141">type()</a>.</p>

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