a00698.html

来自「opendds 1.2 最新版 面向分布式实时网络编程」· HTML 代码 · 共 223 行

HTML
223 行
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>OpenDDS: OpenDDS::DCPS::SimpleUdpTransport 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.4.7 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li id="current"><a href="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="dirs.html"><span>Directories</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <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="nav">
<a class="el" href="a01301.html">OpenDDS</a>::<a class="el" href="a01275.html">DCPS</a>::<a class="el" href="a00698.html">SimpleUdpTransport</a></div>
<h1>OpenDDS::DCPS::SimpleUdpTransport Class Reference</h1><!-- doxytag: class="OpenDDS::DCPS::SimpleUdpTransport" --><!-- doxytag: inherits="OpenDDS::DCPS::SimpleUnreliableDgramTransport" --><code>#include &lt;SimpleUdpTransport.h&gt;</code>
<p>
Inheritance diagram for OpenDDS::DCPS::SimpleUdpTransport:<p><center><img src="a03019.png" border="0" usemap="#a03020" alt="Inheritance graph"></center>
<map name="a03020">
<area href="a00705.html" shape="rect" coords="7,156,361,180" alt="">
<area href="a00746.html" shape="rect" coords="71,81,297,105" alt="">
<area href="a00640.html" shape="rect" coords="5,7,363,31" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for OpenDDS::DCPS::SimpleUdpTransport:<p><center><img src="a03021.png" border="0" usemap="#a03022" alt="Collaboration graph"></center>
<map name="a03022">
<area href="a00705.html" shape="rect" coords="120,220,475,244" alt="">
<area href="a00746.html" shape="rect" coords="191,127,418,151" alt="">
<area href="a00639.html" shape="rect" coords="6,7,243,31" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="a00164.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00698.html#eb441431fd113662b71516cb88f094ae">SimpleUdpTransport</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00698.html#fff9caf569282a8d96ed0aa5f29105b1">~SimpleUdpTransport</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00698.html#b7b7f92281a147e1897b7df3c2b567a1">configure_socket</a> (<a class="el" href="a00741.html">TransportConfiguration</a> *config)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00698.html#59613605979280e0871a1aec73e3cd49">connection_info_i</a> (<a class="el" href="a00749.html">TransportInterfaceInfo</a> &amp;local_info) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00698.html#b4ce54d0e5eace63a795da11c572ab52">deliver_sample</a> (<a class="el" href="a00647.html">ReceivedDataSample</a> &amp;sample, const ACE_INET_Addr &amp;remote_address)</td></tr>

<tr><td colspan="2"><br><h2>Private 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="a00698.html#06b0ee3baa2eff673cf48366b3e5b45f">local_address_str_</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">ACE_INET_Addr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00698.html#44b7c85bf71f6a968fa29c0f9e45734e">local_address_</a></td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="eb441431fd113662b71516cb88f094ae"></a><!-- doxytag: member="OpenDDS::DCPS::SimpleUdpTransport::SimpleUdpTransport" ref="eb441431fd113662b71516cb88f094ae" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ACE_INLINE OpenDDS::DCPS::SimpleUdpTransport::SimpleUdpTransport           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="fff9caf569282a8d96ed0aa5f29105b1"></a><!-- doxytag: member="OpenDDS::DCPS::SimpleUdpTransport::~SimpleUdpTransport" ref="fff9caf569282a8d96ed0aa5f29105b1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OpenDDS::DCPS::SimpleUdpTransport::~SimpleUdpTransport           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="b7b7f92281a147e1897b7df3c2b567a1"></a><!-- doxytag: member="OpenDDS::DCPS::SimpleUdpTransport::configure_socket" ref="b7b7f92281a147e1897b7df3c2b567a1" args="(TransportConfiguration *config)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OpenDDS::DCPS::SimpleUdpTransport::configure_socket           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00741.html">TransportConfiguration</a> *&nbsp;</td>
          <td class="paramname"> <em>config</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Implements <a class="el" href="a00705.html#20990f47fb2788a906987c6e66d33c69">OpenDDS::DCPS::SimpleUnreliableDgramTransport</a>.
</div>
</div><p>
<a class="anchor" name="59613605979280e0871a1aec73e3cd49"></a><!-- doxytag: member="OpenDDS::DCPS::SimpleUdpTransport::connection_info_i" ref="59613605979280e0871a1aec73e3cd49" args="(TransportInterfaceInfo &amp;local_info) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OpenDDS::DCPS::SimpleUdpTransport::connection_info_i           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00749.html">TransportInterfaceInfo</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>local_info</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Called by our <a class="el" href="a00746.html#e73cdc5cda252f9d33c11dd6288abc4d">connection_info()</a> method to allow the concrete <a class="el" href="a00746.html">TransportImpl</a> subclass to do the dirty work since it really is the one that knows how to populate the supplied <a class="el" href="a00749.html">TransportInterfaceInfo</a> object. 
<p>
Implements <a class="el" href="a00705.html#97c4e5880624416864534bf2b8a6a3b6">OpenDDS::DCPS::SimpleUnreliableDgramTransport</a>.
</div>
</div><p>
<a class="anchor" name="b4ce54d0e5eace63a795da11c572ab52"></a><!-- doxytag: member="OpenDDS::DCPS::SimpleUdpTransport::deliver_sample" ref="b4ce54d0e5eace63a795da11c572ab52" args="(ReceivedDataSample &amp;sample, const ACE_INET_Addr &amp;remote_address)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ACE_INLINE void OpenDDS::DCPS::SimpleUdpTransport::deliver_sample           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00647.html">ReceivedDataSample</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>sample</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const ACE_INET_Addr &amp;&nbsp;</td>
          <td class="paramname"> <em>remote_address</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Reimplemented from <a class="el" href="a00705.html#4a4fb5f9a27748fc765c9e209128ff4b">OpenDDS::DCPS::SimpleUnreliableDgramTransport</a>.
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="44b7c85bf71f6a968fa29c0f9e45734e"></a><!-- doxytag: member="OpenDDS::DCPS::SimpleUdpTransport::local_address_" ref="44b7c85bf71f6a968fa29c0f9e45734e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ACE_INET_Addr <a class="el" href="a00698.html#44b7c85bf71f6a968fa29c0f9e45734e">OpenDDS::DCPS::SimpleUdpTransport::local_address_</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="06b0ee3baa2eff673cf48366b3e5b45f"></a><!-- doxytag: member="OpenDDS::DCPS::SimpleUdpTransport::local_address_str_" ref="06b0ee3baa2eff673cf48366b3e5b45f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="a00698.html#06b0ee3baa2eff673cf48366b3e5b45f">OpenDDS::DCPS::SimpleUdpTransport::local_address_str_</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="a01124.html">SimpleUdpTransport.h</a><li><a class="el" href="a01123.html">SimpleUdpTransport.cpp</a><li><a class="el" href="a01125.html">SimpleUdpTransport.inl</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Nov 7 09:37:52 2008 for OpenDDS by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?