<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>DTN Reference Implementation: dtn::TcaEndpointID Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespacedtn.html">dtn</a>::<a class="el" href="classdtn_1_1TcaEndpointID.html">TcaEndpointID</a> </div> </div> <div class="contents"> <h1>dtn::TcaEndpointID Class Reference</h1><!-- doxytag: class="dtn::TcaEndpointID" --><!-- doxytag: inherits="dtn::EndpointID" --><code>#include <<a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html">TcaEndpointID.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for dtn::TcaEndpointID:</div> <div class="dynsection"> <p><center><img src="classdtn_1_1TcaEndpointID.png" usemap="#dtn::TcaEndpointID_map" border="0" alt=""></center> <map name="dtn::TcaEndpointID_map"> <area href="classdtn_1_1EndpointID.html" alt="dtn::EndpointID" shape="rect" coords="0,0,117,24"> </map> </div> <p> <a href="classdtn_1_1TcaEndpointID-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> <p>Definition at line <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html#l00036">36</a> of file <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html">servlib/routing/TcaEndpointID.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1TcaEndpointID.html#794e3a83aa8dc2ee8efa5f87436c9047">TcaEndpointID</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1TcaEndpointID.html#193cc906748755ce771385c31f94c6fe">TcaEndpointID</a> (const <a class="el" href="classdtn_1_1EndpointID.html">EndpointID</a> &eid)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1TcaEndpointID.html#06c31e93666c10c1c1a1165576ebe776">TcaEndpointID</a> (const std::string &str)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1TcaEndpointID.html#1385ad9d2f6b2edc91b152c4381adee5">TcaEndpointID</a> (const std::string &host, const std::string &app)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1TcaEndpointID.html#9264c343440c31df32c193144c458144">TcaEndpointID</a> (const <a class="el" href="classdtn_1_1TcaEndpointID.html">TcaEndpointID</a> &eid)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1TcaEndpointID.html#4ae4e32d1fdd24a0f991fa7ee36e69b6">host</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1TcaEndpointID.html#239acd18c5985031ccde27d7b992a5bc">app</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1TcaEndpointID.html#a769877f74538286466c0a8b9917ebd9">set_host</a> (const std::string &host)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1TcaEndpointID.html#b5fb4117a3c52a00d0e09e48b5dd8424">set_app</a> (const std::string &app)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1TcaEndpointID.html#6f23dbe9ea58f98704800431083d064c">get_hostid</a> () const </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 std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1TcaEndpointID.html#1c7786c09ffc5f8c4a1665b1411f722e">build</a> (const std::string &host, const std::string &app)</td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1TcaEndpointID.html#f7f7f540269dc962eba0b58ab8f78126">parse</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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1TcaEndpointID.html#2735adee0b6f75175a35e02f0853af8c">host_</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1TcaEndpointID.html#5544d5da619b4de56c6c685634a1f170">app_</a></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="794e3a83aa8dc2ee8efa5f87436c9047"></a><!-- doxytag: member="dtn::TcaEndpointID::TcaEndpointID" ref="794e3a83aa8dc2ee8efa5f87436c9047" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">dtn::TcaEndpointID::TcaEndpointID </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html#l00039">39</a> of file <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html">servlib/routing/TcaEndpointID.h</a>.</p> </div> </div><p> <a class="anchor" name="193cc906748755ce771385c31f94c6fe"></a><!-- doxytag: member="dtn::TcaEndpointID::TcaEndpointID" ref="193cc906748755ce771385c31f94c6fe" args="(const EndpointID &eid)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">TcaEndpointID::TcaEndpointID </td> <td>(</td> <td class="paramtype">const <a class="el" href="classdtn_1_1EndpointID.html">EndpointID</a> & </td> <td class="paramname"> <em>eid</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="servlib_2routing_2TcaEndpointID_8cc-source.html#l00046">46</a> of file <a class="el" href="servlib_2routing_2TcaEndpointID_8cc-source.html">servlib/routing/TcaEndpointID.cc</a>.</p> <p>References <a class="el" href="servlib_2routing_2TcaEndpointID_8cc-source.html#l00060">parse()</a>.</p> </div> </div><p> <a class="anchor" name="06c31e93666c10c1c1a1165576ebe776"></a><!-- doxytag: member="dtn::TcaEndpointID::TcaEndpointID" ref="06c31e93666c10c1c1a1165576ebe776" args="(const std::string &str)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">TcaEndpointID::TcaEndpointID </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>str</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="servlib_2routing_2TcaEndpointID_8cc-source.html#l00032">32</a> of file <a class="el" href="servlib_2routing_2TcaEndpointID_8cc-source.html">servlib/routing/TcaEndpointID.cc</a>.</p> <p>References <a class="el" href="servlib_2routing_2TcaEndpointID_8cc-source.html#l00060">parse()</a>.</p> </div> </div><p> <a class="anchor" name="1385ad9d2f6b2edc91b152c4381adee5"></a><!-- doxytag: member="dtn::TcaEndpointID::TcaEndpointID" ref="1385ad9d2f6b2edc91b152c4381adee5" args="(const std::string &host, const std::string &app)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">TcaEndpointID::TcaEndpointID </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>host</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>app</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="servlib_2routing_2TcaEndpointID_8cc-source.html#l00039">39</a> of file <a class="el" href="servlib_2routing_2TcaEndpointID_8cc-source.html">servlib/routing/TcaEndpointID.cc</a>.</p> <p>References <a class="el" href="EndpointID_8h-source.html#l00084">dtn::EndpointID::assign()</a>, and <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html#l00055">build()</a>.</p> </div> </div><p> <a class="anchor" name="9264c343440c31df32c193144c458144"></a><!-- doxytag: member="dtn::TcaEndpointID::TcaEndpointID" ref="9264c343440c31df32c193144c458144" args="(const TcaEndpointID &eid)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">TcaEndpointID::TcaEndpointID </td> <td>(</td> <td class="paramtype">const <a class="el" href="classdtn_1_1TcaEndpointID.html">TcaEndpointID</a> & </td> <td class="paramname"> <em>eid</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="servlib_2routing_2TcaEndpointID_8cc-source.html#l00053">53</a> of file <a class="el" href="servlib_2routing_2TcaEndpointID_8cc-source.html">servlib/routing/TcaEndpointID.cc</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="4ae4e32d1fdd24a0f991fa7ee36e69b6"></a><!-- doxytag: member="dtn::TcaEndpointID::host" ref="4ae4e32d1fdd24a0f991fa7ee36e69b6" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const std::string& dtn::TcaEndpointID::host </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html#l00045">45</a> of file <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html">servlib/routing/TcaEndpointID.h</a>.</p> <p>References <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html#l00061">host_</a>.</p> <p>Referenced by <a class="el" href="TcaRouter_8cc-source.html#l00773">dtn::TcaRouter::get_forwarding_rule()</a>, and <a class="el" href="TcaRouter_8cc-source.html#l00144">dtn::TcaRouter::handle_bundle_received()</a>.</p> </div> </div><p> <a class="anchor" name="239acd18c5985031ccde27d7b992a5bc"></a><!-- doxytag: member="dtn::TcaEndpointID::app" ref="239acd18c5985031ccde27d7b992a5bc" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const std::string& dtn::TcaEndpointID::app </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html#l00046">46</a> of file <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html">servlib/routing/TcaEndpointID.h</a>.</p> <p>References <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html#l00062">app_</a>.</p> <p>Referenced by <a class="el" href="TcaRouter_8cc-source.html#l00144">dtn::TcaRouter::handle_bundle_received()</a>, and <a class="el" href="TcaRouter_8cc-source.html#l00201">dtn::TcaRouter::handle_bundle_transmitted()</a>.</p> </div> </div><p> <a class="anchor" name="a769877f74538286466c0a8b9917ebd9"></a><!-- doxytag: member="dtn::TcaEndpointID::set_host" ref="a769877f74538286466c0a8b9917ebd9" args="(const std::string &host)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void TcaEndpointID::set_host </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>host</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="servlib_2routing_2TcaEndpointID_8cc-source.html#l00093">93</a> of file <a class="el" href="servlib_2routing_2TcaEndpointID_8cc-source.html">servlib/routing/TcaEndpointID.cc</a>.</p> <p>References <a class="el" href="apps_2tca__admin_2TcaEndpointID_8h-source.html#l00062">TcaEndpointID::app_</a>, <a class="el" href="apps_2tca__admin_2TcaEndpointID_8h-source.html#l00054">TcaEndpointID::build()</a>, and <a class="el" href="apps_2tca__admin_2TcaEndpointID_8h-source.html#l00061">TcaEndpointID::host_</a>.</p> </div> </div><p> <a class="anchor" name="b5fb4117a3c52a00d0e09e48b5dd8424"></a><!-- doxytag: member="dtn::TcaEndpointID::set_app" ref="b5fb4117a3c52a00d0e09e48b5dd8424" args="(const std::string &app)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void TcaEndpointID::set_app </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>app</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="servlib_2routing_2TcaEndpointID_8cc-source.html#l00101">101</a> of file <a class="el" href="servlib_2routing_2TcaEndpointID_8cc-source.html">servlib/routing/TcaEndpointID.cc</a>.</p> <p>References <a class="el" href="apps_2tca__admin_2TcaEndpointID_8h-source.html#l00062">TcaEndpointID::app_</a>, <a class="el" href="apps_2tca__admin_2TcaEndpointID_8h-source.html#l00054">TcaEndpointID::build()</a>, and <a class="el" href="apps_2tca__admin_2TcaEndpointID_8h-source.html#l00061">TcaEndpointID::host_</a>.</p> <p>Referenced by <a class="el" href="TcaRouter_8cc-source.html#l00113">dtn::TcaRouter::TcaRouter()</a>.</p> </div> </div><p> <a class="anchor" name="6f23dbe9ea58f98704800431083d064c"></a><!-- doxytag: member="dtn::TcaEndpointID::get_hostid" ref="6f23dbe9ea58f98704800431083d064c" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const std::string dtn::TcaEndpointID::get_hostid </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html#l00051">51</a> of file <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html">servlib/routing/TcaEndpointID.h</a>.</p> <p>References <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html#l00061">host_</a>.</p> <p>Referenced by <a class="el" href="TcaRouter_8cc-source.html#l00765">dtn::TcaRouter::is_local_source()</a>.</p> </div> </div><p> <a class="anchor" name="1c7786c09ffc5f8c4a1665b1411f722e"></a><!-- doxytag: member="dtn::TcaEndpointID::build" ref="1c7786c09ffc5f8c4a1665b1411f722e" args="(const std::string &host, const std::string &app)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static std::string dtn::TcaEndpointID::build </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>host</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>app</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline, static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html#l00055">55</a> of file <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html">servlib/routing/TcaEndpointID.h</a>.</p> <p>Referenced by <a class="el" href="servlib_2routing_2TcaEndpointID_8cc-source.html#l00039">TcaEndpointID()</a>.</p> </div> </div><p> <a class="anchor" name="f7f7f540269dc962eba0b58ab8f78126"></a><!-- doxytag: member="dtn::TcaEndpointID::parse" ref="f7f7f540269dc962eba0b58ab8f78126" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void TcaEndpointID::parse </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="servlib_2routing_2TcaEndpointID_8cc-source.html#l00060">60</a> of file <a class="el" href="servlib_2routing_2TcaEndpointID_8cc-source.html">servlib/routing/TcaEndpointID.cc</a>.</p> <p>References <a class="el" href="apps_2tca__admin_2TcaEndpointID_8h-source.html#l00062">TcaEndpointID::app_</a>, <a class="el" href="apps_2tca__admin_2TcaEndpointID_8h-source.html#l00061">TcaEndpointID::host_</a>, and <a class="el" href="apps_2tca__admin_2TcaEndpointID_8h-source.html#l00060">TcaEndpointID::valid_</a>.</p> <p>Referenced by <a class="el" href="servlib_2routing_2TcaEndpointID_8cc-source.html#l00032">TcaEndpointID()</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="2735adee0b6f75175a35e02f0853af8c"></a><!-- doxytag: member="dtn::TcaEndpointID::host_" ref="2735adee0b6f75175a35e02f0853af8c" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string <a class="el" href="classdtn_1_1TcaEndpointID.html#2735adee0b6f75175a35e02f0853af8c">dtn::TcaEndpointID::host_</a><code> [protected]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html#l00061">61</a> of file <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html">servlib/routing/TcaEndpointID.h</a>.</p> <p>Referenced by <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html#l00051">get_hostid()</a>, and <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html#l00045">host()</a>.</p> </div> </div><p> <a class="anchor" name="5544d5da619b4de56c6c685634a1f170"></a><!-- doxytag: member="dtn::TcaEndpointID::app_" ref="5544d5da619b4de56c6c685634a1f170" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string <a class="el" href="classdtn_1_1TcaEndpointID.html#5544d5da619b4de56c6c685634a1f170">dtn::TcaEndpointID::app_</a><code> [protected]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html#l00062">62</a> of file <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html">servlib/routing/TcaEndpointID.h</a>.</p> <p>Referenced by <a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html#l00046">app()</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="servlib_2routing_2TcaEndpointID_8h-source.html">servlib/routing/TcaEndpointID.h</a><li><a class="el" href="servlib_2routing_2TcaEndpointID_8cc-source.html">servlib/routing/TcaEndpointID.cc</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jul 21 14:09:55 2008 for DTN Reference Implementation by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>