Sophie

Sophie

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

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::ProphetTLV 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_1ProphetTLV.html">ProphetTLV</a>
  </div>
</div>
<div class="contents">
<h1>prophet::ProphetTLV Class Reference</h1><!-- doxytag: class="prophet::ProphetTLV" --><code>#include &lt;<a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>&gt;</code>
<p>

<p>
<a href="classprophet_1_1ProphetTLV-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1ProphetTLV_1_1ProphetHeader.html">ProphetHeader</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Header Definition p.  <a href="structprophet_1_1ProphetTLV_1_1ProphetHeader.html#_details">More...</a><br></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_1ProphetTLV.html#8612aff33b50bae0e7005ef59d14c274">header_result_t</a> { <br>
&nbsp;&nbsp;<a class="el" href="classprophet_1_1ProphetTLV.html#8612aff33b50bae0e7005ef59d14c274be04098e4287d8d31ec403986a6462f3">UnknownResult</a> =  0x0, 
<a class="el" href="classprophet_1_1ProphetTLV.html#8612aff33b50bae0e7005ef59d14c2749c93217fcbdbee38f439bcef5a4dd647">NoSuccessAck</a> =  0x1, 
<a class="el" href="classprophet_1_1ProphetTLV.html#8612aff33b50bae0e7005ef59d14c27455035e4b54cdb330f165bb9c38e6a08e">AckAll</a> =  0x2, 
<a class="el" href="classprophet_1_1ProphetTLV.html#8612aff33b50bae0e7005ef59d14c274b2923d8ea097c2be982cad9856b15dae">Success</a> =  0x3, 
<br>
&nbsp;&nbsp;<a class="el" href="classprophet_1_1ProphetTLV.html#8612aff33b50bae0e7005ef59d14c27473047ceb98cf9e68553c6f1645fb79d4">Failure</a> =  0x4, 
<a class="el" href="classprophet_1_1ProphetTLV.html#8612aff33b50bae0e7005ef59d14c274cbf56fac0787607dcc3006e276358932">ReturnReceipt</a> =  0x5
<br>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Legal values for <a class="el" href="structprophet_1_1ProphetTLV_1_1ProphetHeader.html#4fb75a06d41e250c589f15da9d6a5e79" title="Field that is used to indicate whether a response is required to the request message...">ProphetHeader.result</a> field p.  <a href="classprophet_1_1ProphetTLV.html#8612aff33b50bae0e7005ef59d14c274">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::list&lt; <a class="el" href="classprophet_1_1BaseTLV.html">BaseTLV</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ProphetTLV.html#0f8dde72bcb27f853577d40c8c55e9ab">List</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::list&lt; <a class="el" href="classprophet_1_1BaseTLV.html">BaseTLV</a> * &gt;<br class="typebreak">
::<a class="el" href="classprophet_1_1ProphetTLV.html#f9d02d9a43c726344e5fd4454b10248f">iterator</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ProphetTLV.html#f9d02d9a43c726344e5fd4454b10248f">iterator</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::list&lt; <a class="el" href="classprophet_1_1BaseTLV.html">BaseTLV</a> * &gt;<br class="typebreak">
::<a class="el" href="classprophet_1_1ProphetTLV.html#8f32d86d9a6895255507bc316687330e">const_iterator</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ProphetTLV.html#8f32d86d9a6895255507bc316687330e">const_iterator</a></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_1ProphetTLV.html#84bc3ce650a356af8f782852928ae067">ProphetTLV</a> (const std::string &amp;<a class="el" href="dtnmoteproxy_8c.html#e1ade0f5a1b32f6c8be72f31a99e2a18">src</a>, const std::string &amp;dst, <a class="el" href="classprophet_1_1ProphetTLV.html#8612aff33b50bae0e7005ef59d14c274">header_result_t</a> result, u_int16_t local_instance, u_int16_t remote_instance, u_int32_t tid)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor.  <a href="#84bc3ce650a356af8f782852928ae067"></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_1ProphetTLV.html#4c2b108aa8da108f35c4f4b2fbf24172">ProphetTLV</a> (const <a class="el" href="classprophet_1_1ProphetTLV.html">ProphetTLV</a> &amp;tlv)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy constructor.  <a href="#4c2b108aa8da108f35c4f4b2fbf24172"></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_1ProphetTLV.html#cf13c3a9cc9321a621e76dea681ae2cc">~ProphetTLV</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#cf13c3a9cc9321a621e76dea681ae2cc"></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_1ProphetTLV.html#e6ac3c3c15db1d7e12c98a9f96a29b7e">serialize</a> (u_char *bp, size_t len) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Write <a class="el" href="classprophet_1_1ProphetTLV.html">ProphetTLV</a> out to no more than len bytes of buffer; return bytes written.  <a href="#e6ac3c3c15db1d7e12c98a9f96a29b7e"></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_1ProphetTLV.html#b77f5471a0a55f685d1bfbfd8f57c78f">add_tlv</a> (<a class="el" href="classprophet_1_1BaseTLV.html">BaseTLV</a> *tlv)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Place TLV on list for serialization into next outbound <a class="el" href="classprophet_1_1ProphetTLV.html">ProphetTLV</a>.  <a href="#b77f5471a0a55f685d1bfbfd8f57c78f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classprophet_1_1BaseTLV.html">BaseTLV</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ProphetTLV.html#65e794043a4ff3a74906b901e7b6dabf">get_tlv</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove next TLV from list.  <a href="#65e794043a4ff3a74906b901e7b6dabf"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const std::string &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ProphetTLV.html#4f21d505541a7b591befb1c36fe6eb81">source</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessors.  <a href="#4f21d505541a7b591befb1c36fe6eb81"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const std::string &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ProphetTLV.html#5cd7cc1a094e68e4b0e75720a64a62fe">destination</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessors.  <a href="#5cd7cc1a094e68e4b0e75720a64a62fe"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classprophet_1_1ProphetTLV.html#8612aff33b50bae0e7005ef59d14c274">header_result_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ProphetTLV.html#a5e916df769f557c1d1c4e07287b52f8">result</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessors.  <a href="#a5e916df769f557c1d1c4e07287b52f8"></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_1ProphetTLV.html#21c2499f5966b166e19fe0793a360452">sender_instance</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessors.  <a href="#21c2499f5966b166e19fe0793a360452"></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_1ProphetTLV.html#3c3358826b39fca2315d1563c0771cbc">receiver_instance</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessors.  <a href="#3c3358826b39fca2315d1563c0771cbc"></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_1ProphetTLV.html#0319b74a485e7a45ba9dca32123f30ec">transaction_id</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessors.  <a href="#0319b74a485e7a45ba9dca32123f30ec"></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_1ProphetTLV.html#d7db52bd400f104c35e6473464f957b3">length</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessors.  <a href="#d7db52bd400f104c35e6473464f957b3"></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_1ProphetTLV.html#6ae63c1c1f0f3d634ffc2de2ae9e44aa">size</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessors.  <a href="#6ae63c1c1f0f3d634ffc2de2ae9e44aa"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classprophet_1_1ProphetTLV.html#0f8dde72bcb27f853577d40c8c55e9ab">List</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ProphetTLV.html#51d2582d3275b5ff93ada17cc6f90b97">list</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accessors.  <a href="#51d2582d3275b5ff93ada17cc6f90b97"></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_1ProphetTLV.html#4f32bb7e11b85a1b4431eafd24bc6484">result_to_str</a> (<a class="el" href="classprophet_1_1ProphetTLV.html#8612aff33b50bae0e7005ef59d14c274">header_result_t</a> hr)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pretty print function for header_result_t.  <a href="#4f32bb7e11b85a1b4431eafd24bc6484"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classprophet_1_1ProphetTLV.html">ProphetTLV</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ProphetTLV.html#dd264b57f9575d3af5a5c7e1e3414bcf">deserialize</a> (const std::string &amp;<a class="el" href="dtnmoteproxy_8c.html#e1ade0f5a1b32f6c8be72f31a99e2a18">src</a>, const std::string &amp;dst, const u_char *bp, size_t len)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Read <a class="el" href="classprophet_1_1ProphetTLV.html">ProphetTLV</a> in from no more than len bytes of buffer; return bytes read.  <a href="#dd264b57f9575d3af5a5c7e1e3414bcf"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct <br class="typebreak">
<a class="el" href="structprophet_1_1ProphetTLV_1_1ProphetHeader.html">prophet::ProphetTLV::ProphetHeader</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ProphetTLV.html#0679dde2d412c5ac5923c39c5c532c0d">packed</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Header Definition p.  <a href="#0679dde2d412c5ac5923c39c5c532c0d"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ProphetTLV.html#3a8d9c3d3763364ffe7ab755fabf522f">ProphetHeaderSize</a> = sizeof(struct <a class="el" href="structprophet_1_1ProphetTLV_1_1ProphetHeader.html">ProphetHeader</a>)</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_1ProphetTLV.html#f4bc4ce27f0db6efac6f4c6e6dd569d9">ProphetTLV</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ProphetTLV.html#e6b7fa9fb743044e2f09366cbbfb4199">src_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">destination id for TLV source (from <a class="el" href="classprophet_1_1Bundle.html" title="Facade interface between Prophet router and host implmentation&#39;s Bundle representation...">Bundle</a> metadata)  <a href="#e6b7fa9fb743044e2f09366cbbfb4199"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ProphetTLV.html#e40801aa7f49ddab1ad25c37701f9f47">dst_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">destination id for TLV destination (from <a class="el" href="classprophet_1_1Bundle.html" title="Facade interface between Prophet router and host implmentation&#39;s Bundle representation...">Bundle</a> ")  <a href="#e40801aa7f49ddab1ad25c37701f9f47"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classprophet_1_1ProphetTLV.html#8612aff33b50bae0e7005ef59d14c274">header_result_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ProphetTLV.html#70c7e729beb6adfadcdfeba0c0d66e48">result_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Disposition of this Prophet TLV.  <a href="#70c7e729beb6adfadcdfeba0c0d66e48"></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_1ProphetTLV.html#a5c646fb585272d478dde3b33459412c">sender_instance_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Local node's index for this encounter.  <a href="#a5c646fb585272d478dde3b33459412c"></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_1ProphetTLV.html#753213cd2699f81fafb1b611660257b1">receiver_instance_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Peer's index for this encounter.  <a href="#753213cd2699f81fafb1b611660257b1"></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_1ProphetTLV.html#4a89f5a792bb50f1b24980058245d3e8">tid_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Transaction ID for this TLV.  <a href="#4a89f5a792bb50f1b24980058245d3e8"></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_1ProphetTLV.html#47f93a2a8a1b1fe7615ce69c438cdcdf">length_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Serialized length of this TLV.  <a href="#47f93a2a8a1b1fe7615ce69c438cdcdf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classprophet_1_1ProphetTLV.html#0f8dde72bcb27f853577d40c8c55e9ab">List</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1ProphetTLV.html#4a730ffc2e7ddd7639445d05c78f7a9d">list_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Linked list of TLVs embedded in this Prophet TLV.  <a href="#4a730ffc2e7ddd7639445d05c78f7a9d"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>

<p>Definition at line <a class="el" href="ProphetTLV_8h-source.html#l00026">26</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="8f32d86d9a6895255507bc316687330e"></a><!-- doxytag: member="prophet::ProphetTLV::const_iterator" ref="8f32d86d9a6895255507bc316687330e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::list&lt;<a class="el" href="classprophet_1_1BaseTLV.html">BaseTLV</a>*&gt;::<a class="el" href="classprophet_1_1ProphetTLV.html#8f32d86d9a6895255507bc316687330e">const_iterator</a> <a class="el" href="classprophet_1_1ProphetTLV.html#8f32d86d9a6895255507bc316687330e">prophet::ProphetTLV::const_iterator</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="ProphetTLV_8h-source.html#l00031">31</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="f9d02d9a43c726344e5fd4454b10248f"></a><!-- doxytag: member="prophet::ProphetTLV::iterator" ref="f9d02d9a43c726344e5fd4454b10248f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::list&lt;<a class="el" href="classprophet_1_1BaseTLV.html">BaseTLV</a>*&gt;::<a class="el" href="classprophet_1_1ProphetTLV.html#f9d02d9a43c726344e5fd4454b10248f">iterator</a> <a class="el" href="classprophet_1_1ProphetTLV.html#f9d02d9a43c726344e5fd4454b10248f">prophet::ProphetTLV::iterator</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="ProphetTLV_8h-source.html#l00030">30</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="0f8dde72bcb27f853577d40c8c55e9ab"></a><!-- doxytag: member="prophet::ProphetTLV::List" ref="0f8dde72bcb27f853577d40c8c55e9ab" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::list&lt;<a class="el" href="classprophet_1_1BaseTLV.html">BaseTLV</a>*&gt; <a class="el" href="classprophet_1_1ProphetTLV.html#0f8dde72bcb27f853577d40c8c55e9ab">prophet::ProphetTLV::List</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="ProphetTLV_8h-source.html#l00029">29</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="8612aff33b50bae0e7005ef59d14c274"></a><!-- doxytag: member="prophet::ProphetTLV::header_result_t" ref="8612aff33b50bae0e7005ef59d14c274" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classprophet_1_1ProphetTLV.html#8612aff33b50bae0e7005ef59d14c274">prophet::ProphetTLV::header_result_t</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Legal values for <a class="el" href="structprophet_1_1ProphetTLV_1_1ProphetHeader.html#4fb75a06d41e250c589f15da9d6a5e79" title="Field that is used to indicate whether a response is required to the request message...">ProphetHeader.result</a> field p. 
<p>
22, 4.2 <dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="8612aff33b50bae0e7005ef59d14c274be04098e4287d8d31ec403986a6462f3"></a><!-- doxytag: member="UnknownResult" ref="8612aff33b50bae0e7005ef59d14c274be04098e4287d8d31ec403986a6462f3" args="" -->UnknownResult</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="8612aff33b50bae0e7005ef59d14c2749c93217fcbdbee38f439bcef5a4dd647"></a><!-- doxytag: member="NoSuccessAck" ref="8612aff33b50bae0e7005ef59d14c2749c93217fcbdbee38f439bcef5a4dd647" args="" -->NoSuccessAck</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="8612aff33b50bae0e7005ef59d14c27455035e4b54cdb330f165bb9c38e6a08e"></a><!-- doxytag: member="AckAll" ref="8612aff33b50bae0e7005ef59d14c27455035e4b54cdb330f165bb9c38e6a08e" args="" -->AckAll</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="8612aff33b50bae0e7005ef59d14c274b2923d8ea097c2be982cad9856b15dae"></a><!-- doxytag: member="Success" ref="8612aff33b50bae0e7005ef59d14c274b2923d8ea097c2be982cad9856b15dae" args="" -->Success</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="8612aff33b50bae0e7005ef59d14c27473047ceb98cf9e68553c6f1645fb79d4"></a><!-- doxytag: member="Failure" ref="8612aff33b50bae0e7005ef59d14c27473047ceb98cf9e68553c6f1645fb79d4" args="" -->Failure</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="8612aff33b50bae0e7005ef59d14c274cbf56fac0787607dcc3006e276358932"></a><!-- doxytag: member="ReturnReceipt" ref="8612aff33b50bae0e7005ef59d14c274cbf56fac0787607dcc3006e276358932" args="" -->ReturnReceipt</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>

<p>Definition at line <a class="el" href="ProphetTLV_8h-source.html#l00158">158</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="84bc3ce650a356af8f782852928ae067"></a><!-- doxytag: member="prophet::ProphetTLV::ProphetTLV" ref="84bc3ce650a356af8f782852928ae067" args="(const std::string &amp;src, const std::string &amp;dst, header_result_t result, u_int16_t local_instance, u_int16_t remote_instance, u_int32_t tid)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">prophet::ProphetTLV::ProphetTLV           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classprophet_1_1ProphetTLV.html#8612aff33b50bae0e7005ef59d14c274">header_result_t</a>&nbsp;</td>
          <td class="paramname"> <em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u_int16_t&nbsp;</td>
          <td class="paramname"> <em>local_instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u_int16_t&nbsp;</td>
          <td class="paramname"> <em>remote_instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u_int32_t&nbsp;</td>
          <td class="paramname"> <em>tid</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor. 
<p>

<p>Definition at line <a class="el" href="ProphetTLV_8cc-source.html#l00036">36</a> of file <a class="el" href="ProphetTLV_8cc-source.html">ProphetTLV.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="4c2b108aa8da108f35c4f4b2fbf24172"></a><!-- doxytag: member="prophet::ProphetTLV::ProphetTLV" ref="4c2b108aa8da108f35c4f4b2fbf24172" args="(const ProphetTLV &amp;tlv)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">prophet::ProphetTLV::ProphetTLV           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classprophet_1_1ProphetTLV.html">ProphetTLV</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>tlv</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Copy constructor. 
<p>

<p>Definition at line <a class="el" href="ProphetTLV_8cc-source.html#l00046">46</a> of file <a class="el" href="ProphetTLV_8cc-source.html">ProphetTLV.cc</a>.</p>

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

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

<p>
Destructor. 
<p>

<p>Definition at line <a class="el" href="ProphetTLV_8cc-source.html#l00055">55</a> of file <a class="el" href="ProphetTLV_8cc-source.html">ProphetTLV.cc</a>.</p>

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

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

<p>

<p>Definition at line <a class="el" href="ProphetTLV_8cc-source.html#l00030">30</a> of file <a class="el" href="ProphetTLV_8cc-source.html">ProphetTLV.cc</a>.</p>

<p>Referenced by <a class="el" href="ProphetTLV_8cc-source.html#l00113">deserialize()</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="b77f5471a0a55f685d1bfbfd8f57c78f"></a><!-- doxytag: member="prophet::ProphetTLV::add_tlv" ref="b77f5471a0a55f685d1bfbfd8f57c78f" args="(BaseTLV *tlv)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> prophet::ProphetTLV::add_tlv           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classprophet_1_1BaseTLV.html">BaseTLV</a> *&nbsp;</td>
          <td class="paramname"> <em>tlv</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Place TLV on list for serialization into next outbound <a class="el" href="classprophet_1_1ProphetTLV.html">ProphetTLV</a>. 
<p>
<a class="el" href="classprophet_1_1ProphetTLV.html">ProphetTLV</a> assumes ownership of memory on submitted pointer, on success. 
<p>Definition at line <a class="el" href="ProphetTLV_8cc-source.html#l00201">201</a> of file <a class="el" href="ProphetTLV_8cc-source.html">ProphetTLV.cc</a>.</p>

<p>References <a class="el" href="BaseTLV_8h-source.html#l00107">prophet::BaseTLV::length()</a>, <a class="el" href="ProphetTLV_8h-source.html#l00253">length_</a>, and <a class="el" href="ProphetTLV_8h-source.html#l00254">list_</a>.</p>

<p>Referenced by <a class="el" href="ProphetTLV_8cc-source.html#l00113">deserialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="dd264b57f9575d3af5a5c7e1e3414bcf"></a><!-- doxytag: member="prophet::ProphetTLV::deserialize" ref="dd264b57f9575d3af5a5c7e1e3414bcf" args="(const std::string &amp;src, const std::string &amp;dst, const u_char *bp, size_t len)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classprophet_1_1ProphetTLV.html">ProphetTLV</a> * prophet::ProphetTLV::deserialize           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></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> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Read <a class="el" href="classprophet_1_1ProphetTLV.html">ProphetTLV</a> in from no more than len bytes of buffer; return bytes read. 
<p>

<p>Definition at line <a class="el" href="ProphetTLV_8cc-source.html#l00113">113</a> of file <a class="el" href="ProphetTLV_8cc-source.html">ProphetTLV.cc</a>.</p>

<p>References <a class="el" href="ProphetTLV_8cc-source.html#l00201">add_tlv()</a>, <a class="el" href="ProphetTLV_8h-source.html#l00089">prophet::ProphetTLV::ProphetTLV::ProphetHeader::code</a>, <a class="el" href="ProphetTLV_8h-source.html#l00248">dst_</a>, <a class="el" href="ProphetTLV_8h-source.html#l00039">prophet::ProphetTLV::ProphetTLV::ProphetHeader::flags</a>, <a class="el" href="BaseTLV_8h-source.html#l00066">prophet::BaseTLV::HELLO_TLV</a>, <a class="el" href="BaseTLV_8h-source.html#l00107">prophet::BaseTLV::length()</a>, <a class="el" href="ProphetTLV_8h-source.html#l00151">prophet::ProphetTLV::ProphetTLV::ProphetHeader::length</a>, <a class="el" href="ProphetTLV_8h-source.html#l00253">length_</a>, <a class="el" href="BaseTLV_8h-source.html#l00070">prophet::BaseTLV::OFFER_TLV</a>, <a class="el" href="Params_8h-source.html#l00063">prophet::ProphetParams::PROPHET_VERSION</a>, <a class="el" href="ProphetTLV_8h-source.html#l00167">ProphetHeaderSize</a>, <a class="el" href="ProphetTLV_8cc-source.html#l00030">ProphetTLV()</a>, <a class="el" href="ProphetTLV_8h-source.html#l00120">prophet::ProphetTLV::ProphetTLV::ProphetHeader::receiver_instance</a>, <a class="el" href="ProphetTLV_8h-source.html#l00251">receiver_instance_</a>, <a class="el" href="BaseTLV_8h-source.html#l00071">prophet::BaseTLV::RESPONSE_TLV</a>, <a class="el" href="ProphetTLV_8h-source.html#l00070">prophet::ProphetTLV::ProphetTLV::ProphetHeader::result</a>, <a class="el" href="ProphetTLV_8h-source.html#l00249">result_</a>, <a class="el" href="BaseTLV_8h-source.html#l00069">prophet::BaseTLV::RIB_TLV</a>, <a class="el" href="BaseTLV_8h-source.html#l00068">prophet::BaseTLV::RIBD_TLV</a>, <a class="el" href="ProphetTLV_8h-source.html#l00105">prophet::ProphetTLV::ProphetTLV::ProphetHeader::sender_instance</a>, <a class="el" href="ProphetTLV_8h-source.html#l00250">sender_instance_</a>, <a class="el" href="ProphetTLV_8h-source.html#l00247">src_</a>, <a class="el" href="ProphetTLV_8h-source.html#l00136">prophet::ProphetTLV::ProphetTLV::ProphetHeader::submessage_flag</a>, <a class="el" href="ProphetTLV_8h-source.html#l00145">prophet::ProphetTLV::ProphetTLV::ProphetHeader::submessage_num</a>, <a class="el" href="ProphetTLV_8h-source.html#l00252">tid_</a>, <a class="el" href="ProphetTLV_8h-source.html#l00127">prophet::ProphetTLV::ProphetTLV::ProphetHeader::transaction_id</a>, <a class="el" href="BaseTLV_8h-source.html#l00065">prophet::BaseTLV::UNKNOWN_TLV</a>, and <a class="el" href="ProphetTLV_8h-source.html#l00038">prophet::ProphetTLV::ProphetTLV::ProphetHeader::version</a>.</p>

</div>
</div><p>
<a class="anchor" name="5cd7cc1a094e68e4b0e75720a64a62fe"></a><!-- doxytag: member="prophet::ProphetTLV::destination" ref="5cd7cc1a094e68e4b0e75720a64a62fe" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string&amp; prophet::ProphetTLV::destination           </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="ProphetTLV_8h-source.html#l00234">234</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

<p>References <a class="el" href="ProphetTLV_8h-source.html#l00248">dst_</a>.</p>

</div>
</div><p>
<a class="anchor" name="65e794043a4ff3a74906b901e7b6dabf"></a><!-- doxytag: member="prophet::ProphetTLV::get_tlv" ref="65e794043a4ff3a74906b901e7b6dabf" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classprophet_1_1BaseTLV.html">BaseTLV</a> * prophet::ProphetTLV::get_tlv           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Remove next TLV from list. 
<p>
Caller assumes ownership of memory pointed to by returned pointer (if non-NULL). 
<p>Definition at line <a class="el" href="ProphetTLV_8cc-source.html#l00191">191</a> of file <a class="el" href="ProphetTLV_8cc-source.html">ProphetTLV.cc</a>.</p>

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

</div>
</div><p>
<a class="anchor" name="d7db52bd400f104c35e6473464f957b3"></a><!-- doxytag: member="prophet::ProphetTLV::length" ref="d7db52bd400f104c35e6473464f957b3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int16_t prophet::ProphetTLV::length           </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="ProphetTLV_8h-source.html#l00239">239</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

<p>References <a class="el" href="ProphetTLV_8h-source.html#l00253">length_</a>.</p>

</div>
</div><p>
<a class="anchor" name="51d2582d3275b5ff93ada17cc6f90b97"></a><!-- doxytag: member="prophet::ProphetTLV::list" ref="51d2582d3275b5ff93ada17cc6f90b97" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classprophet_1_1ProphetTLV.html#0f8dde72bcb27f853577d40c8c55e9ab">List</a>&amp; prophet::ProphetTLV::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="ProphetTLV_8h-source.html#l00241">241</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

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

</div>
</div><p>
<a class="anchor" name="3c3358826b39fca2315d1563c0771cbc"></a><!-- doxytag: member="prophet::ProphetTLV::receiver_instance" ref="3c3358826b39fca2315d1563c0771cbc" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int16_t prophet::ProphetTLV::receiver_instance           </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="ProphetTLV_8h-source.html#l00237">237</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

<p>References <a class="el" href="ProphetTLV_8h-source.html#l00251">receiver_instance_</a>.</p>

</div>
</div><p>
<a class="anchor" name="a5e916df769f557c1d1c4e07287b52f8"></a><!-- doxytag: member="prophet::ProphetTLV::result" ref="a5e916df769f557c1d1c4e07287b52f8" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classprophet_1_1ProphetTLV.html#8612aff33b50bae0e7005ef59d14c274">header_result_t</a> prophet::ProphetTLV::result           </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="ProphetTLV_8h-source.html#l00235">235</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

<p>References <a class="el" href="ProphetTLV_8h-source.html#l00249">result_</a>.</p>

</div>
</div><p>
<a class="anchor" name="4f32bb7e11b85a1b4431eafd24bc6484"></a><!-- doxytag: member="prophet::ProphetTLV::result_to_str" ref="4f32bb7e11b85a1b4431eafd24bc6484" args="(header_result_t hr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static const char* prophet::ProphetTLV::result_to_str           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classprophet_1_1ProphetTLV.html#8612aff33b50bae0e7005ef59d14c274">header_result_t</a>&nbsp;</td>
          <td class="paramname"> <em>hr</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Pretty print function for header_result_t. 
<p>

<p>Definition at line <a class="el" href="ProphetTLV_8h-source.html#l00172">172</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

<p>References <a class="el" href="ProphetTLV_8h-source.html#l00161">AckAll</a>, <a class="el" href="ProphetTLV_8h-source.html#l00163">Failure</a>, <a class="el" href="ProphetTLV_8h-source.html#l00160">NoSuccessAck</a>, <a class="el" href="ProphetTLV_8h-source.html#l00164">ReturnReceipt</a>, <a class="el" href="ProphetTLV_8h-source.html#l00162">Success</a>, and <a class="el" href="ProphetTLV_8h-source.html#l00159">UnknownResult</a>.</p>

</div>
</div><p>
<a class="anchor" name="21c2499f5966b166e19fe0793a360452"></a><!-- doxytag: member="prophet::ProphetTLV::sender_instance" ref="21c2499f5966b166e19fe0793a360452" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int16_t prophet::ProphetTLV::sender_instance           </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="ProphetTLV_8h-source.html#l00236">236</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

<p>References <a class="el" href="ProphetTLV_8h-source.html#l00250">sender_instance_</a>.</p>

</div>
</div><p>
<a class="anchor" name="e6ac3c3c15db1d7e12c98a9f96a29b7e"></a><!-- doxytag: member="prophet::ProphetTLV::serialize" ref="e6ac3c3c15db1d7e12c98a9f96a29b7e" args="(u_char *bp, size_t len) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t prophet::ProphetTLV::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</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Write <a class="el" href="classprophet_1_1ProphetTLV.html">ProphetTLV</a> out to no more than len bytes of buffer; return bytes written. 
<p>

<p>Definition at line <a class="el" href="ProphetTLV_8cc-source.html#l00062">62</a> of file <a class="el" href="ProphetTLV_8cc-source.html">ProphetTLV.cc</a>.</p>

<p>References <a class="el" href="ProphetTLV_8h-source.html#l00089">prophet::ProphetTLV::ProphetTLV::ProphetHeader::code</a>, <a class="el" href="ProphetTLV_8h-source.html#l00039">prophet::ProphetTLV::ProphetTLV::ProphetHeader::flags</a>, <a class="el" href="ProphetTLV_8h-source.html#l00151">prophet::ProphetTLV::ProphetTLV::ProphetHeader::length</a>, <a class="el" href="BaseTLV_8h-source.html#l00107">prophet::BaseTLV::length()</a>, <a class="el" href="ProphetTLV_8h-source.html#l00253">length_</a>, <a class="el" href="ProphetTLV_8h-source.html#l00254">list_</a>, <a class="el" href="Params_8h-source.html#l00063">prophet::ProphetParams::PROPHET_VERSION</a>, <a class="el" href="ProphetTLV_8h-source.html#l00167">ProphetHeaderSize</a>, <a class="el" href="ProphetTLV_8h-source.html#l00120">prophet::ProphetTLV::ProphetTLV::ProphetHeader::receiver_instance</a>, <a class="el" href="ProphetTLV_8h-source.html#l00251">receiver_instance_</a>, <a class="el" href="ProphetTLV_8h-source.html#l00070">prophet::ProphetTLV::ProphetTLV::ProphetHeader::result</a>, <a class="el" href="ProphetTLV_8h-source.html#l00249">result_</a>, <a class="el" href="ProphetTLV_8h-source.html#l00105">prophet::ProphetTLV::ProphetTLV::ProphetHeader::sender_instance</a>, <a class="el" href="ProphetTLV_8h-source.html#l00250">sender_instance_</a>, <a class="el" href="classprophet_1_1BaseTLV.html#18534e5841ee8447ca2c51cf299becd0">prophet::BaseTLV::serialize()</a>, <a class="el" href="ProphetTLV_8h-source.html#l00252">tid_</a>, <a class="el" href="ProphetTLV_8h-source.html#l00127">prophet::ProphetTLV::ProphetTLV::ProphetHeader::transaction_id</a>, and <a class="el" href="ProphetTLV_8h-source.html#l00038">prophet::ProphetTLV::ProphetTLV::ProphetHeader::version</a>.</p>

</div>
</div><p>
<a class="anchor" name="6ae63c1c1f0f3d634ffc2de2ae9e44aa"></a><!-- doxytag: member="prophet::ProphetTLV::size" ref="6ae63c1c1f0f3d634ffc2de2ae9e44aa" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t prophet::ProphetTLV::size           </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="ProphetTLV_8h-source.html#l00240">240</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

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

</div>
</div><p>
<a class="anchor" name="4f21d505541a7b591befb1c36fe6eb81"></a><!-- doxytag: member="prophet::ProphetTLV::source" ref="4f21d505541a7b591befb1c36fe6eb81" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string&amp; prophet::ProphetTLV::source           </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="ProphetTLV_8h-source.html#l00233">233</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

<p>References <a class="el" href="ProphetTLV_8h-source.html#l00247">src_</a>.</p>

</div>
</div><p>
<a class="anchor" name="0319b74a485e7a45ba9dca32123f30ec"></a><!-- doxytag: member="prophet::ProphetTLV::transaction_id" ref="0319b74a485e7a45ba9dca32123f30ec" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int32_t prophet::ProphetTLV::transaction_id           </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="ProphetTLV_8h-source.html#l00238">238</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

<p>References <a class="el" href="ProphetTLV_8h-source.html#l00252">tid_</a>.</p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="e40801aa7f49ddab1ad25c37701f9f47"></a><!-- doxytag: member="prophet::ProphetTLV::dst_" ref="e40801aa7f49ddab1ad25c37701f9f47" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classprophet_1_1ProphetTLV.html#e40801aa7f49ddab1ad25c37701f9f47">prophet::ProphetTLV::dst_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
destination id for TLV destination (from <a class="el" href="classprophet_1_1Bundle.html" title="Facade interface between Prophet router and host implmentation&#39;s Bundle representation...">Bundle</a> ") 
<p>

<p>Definition at line <a class="el" href="ProphetTLV_8h-source.html#l00248">248</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

<p>Referenced by <a class="el" href="ProphetTLV_8cc-source.html#l00113">deserialize()</a>, and <a class="el" href="ProphetTLV_8h-source.html#l00234">destination()</a>.</p>

</div>
</div><p>
<a class="anchor" name="47f93a2a8a1b1fe7615ce69c438cdcdf"></a><!-- doxytag: member="prophet::ProphetTLV::length_" ref="47f93a2a8a1b1fe7615ce69c438cdcdf" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int16_t <a class="el" href="classprophet_1_1ProphetTLV.html#47f93a2a8a1b1fe7615ce69c438cdcdf">prophet::ProphetTLV::length_</a><code> [mutable, protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Serialized length of this TLV. 
<p>

<p>Definition at line <a class="el" href="ProphetTLV_8h-source.html#l00253">253</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

<p>Referenced by <a class="el" href="ProphetTLV_8cc-source.html#l00201">add_tlv()</a>, <a class="el" href="ProphetTLV_8cc-source.html#l00113">deserialize()</a>, <a class="el" href="ProphetTLV_8h-source.html#l00239">length()</a>, and <a class="el" href="ProphetTLV_8cc-source.html#l00062">serialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="4a730ffc2e7ddd7639445d05c78f7a9d"></a><!-- doxytag: member="prophet::ProphetTLV::list_" ref="4a730ffc2e7ddd7639445d05c78f7a9d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classprophet_1_1ProphetTLV.html#0f8dde72bcb27f853577d40c8c55e9ab">List</a> <a class="el" href="classprophet_1_1ProphetTLV.html#4a730ffc2e7ddd7639445d05c78f7a9d">prophet::ProphetTLV::list_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Linked list of TLVs embedded in this Prophet TLV. 
<p>

<p>Definition at line <a class="el" href="ProphetTLV_8h-source.html#l00254">254</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

<p>Referenced by <a class="el" href="ProphetTLV_8cc-source.html#l00201">add_tlv()</a>, <a class="el" href="ProphetTLV_8cc-source.html#l00191">get_tlv()</a>, <a class="el" href="ProphetTLV_8h-source.html#l00241">list()</a>, <a class="el" href="ProphetTLV_8cc-source.html#l00046">ProphetTLV()</a>, <a class="el" href="ProphetTLV_8cc-source.html#l00062">serialize()</a>, <a class="el" href="ProphetTLV_8h-source.html#l00240">size()</a>, and <a class="el" href="ProphetTLV_8cc-source.html#l00055">~ProphetTLV()</a>.</p>

</div>
</div><p>
<a class="anchor" name="0679dde2d412c5ac5923c39c5c532c0d"></a><!-- doxytag: member="prophet::ProphetTLV::packed" ref="0679dde2d412c5ac5923c39c5c532c0d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structprophet_1_1ProphetTLV_1_1ProphetHeader.html">prophet::ProphetTLV::ProphetHeader</a> <a class="el" href="classprophet_1_1ProphetTLV.html#0679dde2d412c5ac5923c39c5c532c0d">prophet::ProphetTLV::packed</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Header Definition p. 
<p>
21, 4.2 
</div>
</div><p>
<a class="anchor" name="3a8d9c3d3763364ffe7ab755fabf522f"></a><!-- doxytag: member="prophet::ProphetTLV::ProphetHeaderSize" ref="3a8d9c3d3763364ffe7ab755fabf522f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const size_t <a class="el" href="classprophet_1_1ProphetTLV.html#3a8d9c3d3763364ffe7ab755fabf522f">prophet::ProphetTLV::ProphetHeaderSize</a> = sizeof(struct <a class="el" href="structprophet_1_1ProphetTLV_1_1ProphetHeader.html">ProphetHeader</a>)<code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="ProphetTLV_8h-source.html#l00167">167</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

<p>Referenced by <a class="el" href="ProphetTLV_8cc-source.html#l00113">deserialize()</a>, and <a class="el" href="ProphetTLV_8cc-source.html#l00062">serialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="753213cd2699f81fafb1b611660257b1"></a><!-- doxytag: member="prophet::ProphetTLV::receiver_instance_" ref="753213cd2699f81fafb1b611660257b1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int16_t <a class="el" href="classprophet_1_1ProphetTLV.html#753213cd2699f81fafb1b611660257b1">prophet::ProphetTLV::receiver_instance_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Peer's index for this encounter. 
<p>

<p>Definition at line <a class="el" href="ProphetTLV_8h-source.html#l00251">251</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

<p>Referenced by <a class="el" href="ProphetTLV_8cc-source.html#l00113">deserialize()</a>, <a class="el" href="ProphetTLV_8h-source.html#l00237">receiver_instance()</a>, and <a class="el" href="ProphetTLV_8cc-source.html#l00062">serialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="70c7e729beb6adfadcdfeba0c0d66e48"></a><!-- doxytag: member="prophet::ProphetTLV::result_" ref="70c7e729beb6adfadcdfeba0c0d66e48" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classprophet_1_1ProphetTLV.html#8612aff33b50bae0e7005ef59d14c274">header_result_t</a> <a class="el" href="classprophet_1_1ProphetTLV.html#70c7e729beb6adfadcdfeba0c0d66e48">prophet::ProphetTLV::result_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Disposition of this Prophet TLV. 
<p>

<p>Definition at line <a class="el" href="ProphetTLV_8h-source.html#l00249">249</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

<p>Referenced by <a class="el" href="ProphetTLV_8cc-source.html#l00113">deserialize()</a>, <a class="el" href="ProphetTLV_8h-source.html#l00235">result()</a>, and <a class="el" href="ProphetTLV_8cc-source.html#l00062">serialize()</a>.</p>

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

<p>
Local node's index for this encounter. 
<p>

<p>Definition at line <a class="el" href="ProphetTLV_8h-source.html#l00250">250</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

<p>Referenced by <a class="el" href="ProphetTLV_8cc-source.html#l00113">deserialize()</a>, <a class="el" href="ProphetTLV_8h-source.html#l00236">sender_instance()</a>, and <a class="el" href="ProphetTLV_8cc-source.html#l00062">serialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="e6b7fa9fb743044e2f09366cbbfb4199"></a><!-- doxytag: member="prophet::ProphetTLV::src_" ref="e6b7fa9fb743044e2f09366cbbfb4199" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classprophet_1_1ProphetTLV.html#e6b7fa9fb743044e2f09366cbbfb4199">prophet::ProphetTLV::src_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
destination id for TLV source (from <a class="el" href="classprophet_1_1Bundle.html" title="Facade interface between Prophet router and host implmentation&#39;s Bundle representation...">Bundle</a> metadata) 
<p>

<p>Definition at line <a class="el" href="ProphetTLV_8h-source.html#l00247">247</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

<p>Referenced by <a class="el" href="ProphetTLV_8cc-source.html#l00113">deserialize()</a>, and <a class="el" href="ProphetTLV_8h-source.html#l00233">source()</a>.</p>

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

<p>
Transaction ID for this TLV. 
<p>

<p>Definition at line <a class="el" href="ProphetTLV_8h-source.html#l00252">252</a> of file <a class="el" href="ProphetTLV_8h-source.html">ProphetTLV.h</a>.</p>

<p>Referenced by <a class="el" href="ProphetTLV_8cc-source.html#l00113">deserialize()</a>, <a class="el" href="ProphetTLV_8cc-source.html#l00062">serialize()</a>, and <a class="el" href="ProphetTLV_8h-source.html#l00238">transaction_id()</a>.</p>

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