Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > c200d180bc1063a7706e0da42a546b51 > files > 150

atlascpp-devel-0.6.1-7.fc12.x86_64.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>Atlas-C++: Atlas::Net::StreamAccept 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.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</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="namespace_atlas.html">Atlas</a>::<a class="el" href="namespace_atlas_1_1_net.html">Net</a>::<a class="el" href="class_atlas_1_1_net_1_1_stream_accept.html">StreamAccept</a>
  </div>
</div>
<div class="contents">
<h1>Atlas::Net::StreamAccept Class Reference</h1><!-- doxytag: class="Atlas::Net::StreamAccept" --><!-- doxytag: inherits="Atlas::Negotiate" -->Negotiation of servers accepting a connection from a remote system.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="_stream_8h_source.html">Stream.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for Atlas::Net::StreamAccept:</div>
<div class="dynsection">

<p><center><img src="class_atlas_1_1_net_1_1_stream_accept.png" usemap="#Atlas::Net::StreamAccept_map" border="0" alt=""></center>
<map name="Atlas::Net::StreamAccept_map">
<area href="class_atlas_1_1_negotiate.html" alt="Atlas::Negotiate" shape="rect" coords="0,0,150,24">
</map>
</div>

<p>
<a href="class_atlas_1_1_net_1_1_stream_accept-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="59ac7eac0e340c117121c29e00a96d5b"></a><!-- doxytag: member="Atlas::Net::StreamAccept::StreamAccept" ref="59ac7eac0e340c117121c29e00a96d5b" args="(const std::string &amp;name, std::iostream &amp;)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>StreamAccept</b> (const std::string &amp;name, std::iostream &amp;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="04189218bf1c268b370f40a32bca58c5"></a><!-- doxytag: member="Atlas::Net::StreamAccept::poll" ref="04189218bf1c268b370f40a32bca58c5" args="(bool can_read=true)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>poll</b> (bool can_read=true)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="687a52d62ed22127fe3de7558d077bd5"></a><!-- doxytag: member="Atlas::Net::StreamAccept::getState" ref="687a52d62ed22127fe3de7558d077bd5" args="()" -->
virtual State&nbsp;</td><td class="memItemRight" valign="bottom"><b>getState</b> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1353ad53614e261899540a752c0fa75b"></a><!-- doxytag: member="Atlas::Net::StreamAccept::getCodec" ref="1353ad53614e261899540a752c0fa75b" args="(Atlas::Bridge &amp;)" -->
virtual <a class="el" href="class_atlas_1_1_codec.html">Atlas::Codec</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>getCodec</b> (<a class="el" href="class_atlas_1_1_bridge.html">Atlas::Bridge</a> &amp;)</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Negotiation of servers accepting a connection from a remote system. 
<p>
Used once a stream connection has been established by a client. This class listens to the list of <a class="el" href="class_atlas_1_1_codec.html" title="Atlas stream codec.">Atlas::Codec</a> types that the client offers, and then responds with the name of the <a class="el" href="class_atlas_1_1_codec.html" title="Atlas stream codec.">Atlas::Codec</a> which it thinks is most suitable. Once the server has told the client which <a class="el" href="class_atlas_1_1_codec.html" title="Atlas stream codec.">Atlas::Codec</a> to use, negotiation is flagged as complete, and this object can be deleted. <hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_stream_8h_source.html">Stream.h</a></ul>
</div>
<HR>
<P>Copyright 2000-2004 the respective authors.</P>
<P>This document can be licensed under the terms of the GNU Free Documentation
License or the GNU General Public License and may be freely distributed under
the terms given by one of these licenses.</P>