aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNLNET_1_1CBufClient.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/classNLNET_1_1CBufClient.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/classNLNET_1_1CBufClient.html')
-rw-r--r--docs/doxygen/nel/classNLNET_1_1CBufClient.html1038
1 files changed, 1038 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLNET_1_1CBufClient.html b/docs/doxygen/nel/classNLNET_1_1CBufClient.html
new file mode 100644
index 00000000..563034f8
--- /dev/null
+++ b/docs/doxygen/nel/classNLNET_1_1CBufClient.html
@@ -0,0 +1,1038 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+ <TITLE>nevrax.org : docs</TITLE>
+ <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY MARGINHEIGHT="0" MARGINWIDTH="0">
+
+<!-- uplinks -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ </TR>
+</TABLE>
+
+<!-- banner Nevrax -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%>
+ <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
+</TABLE>
+
+<!-- main table -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+ <!------ Begin Box ------>
+ <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
+ <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF>
+ <TABLE cellspacing=0 cellpadding=1 border=0>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
+ </TABLE>
+ </TD></TR></TABLE></TD></TR></TABLE>
+ <!------ End Box ------>
+
+ </TD>
+ <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+<!-- title -->
+<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td>
+<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
+</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
+</td></tr></table>
+&nbsp;
+
+<!-- block -->
+<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
+ <TD><B>Documentation</B></TD>
+ <TD ALIGN=RIGHT>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.14 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
+<hr><h1>NLNET::CBufClient Class Reference</h1>Client class for layer 1.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="buf__client_8h-source.html">buf_client.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NLNET::CBufClient:
+<p><center><img src="classNLNET_1_1CBufClient.gif" usemap="#NLNET::CBufClient_map" border="0"></center>
+<map name="NLNET::CBufClient_map">
+<area href="classNLNET_1_1CBufNetBase.html" alt="NLNET::CBufNetBase" shape="rect" coords="0,0,148,24">
+<area href="classNLNET_1_1CCallbackClient.html" alt="NLNET::CCallbackClient" shape="rect" coords="0,112,148,136">
+</map>
+<a href="classNLNET_1_1CBufClient-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#a0">CBufClient</a> (bool nodelay=true, bool replaymode=false)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Constructor. Set nodelay to true to disable the Nagle buffering algorithm (see <a class="el" href="classNLNET_1_1CTcpSock.html">CTcpSock</a> documentation).</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#a1">~CBufClient</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Destructor.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#a2">connect</a> (const <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> &amp;<a class="el" href="driver__opengl__extension__def_8h.html#a414">addr</a>)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Connects to the specified host.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#a3">disconnect</a> (bool quick=false)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Disconnects the remote host and empties the receive queue.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#a4">send</a> (const <a class="el" href="classNLMISC_1_1CMemStream.html">NLMISC::CMemStream</a> &amp;<a class="el" href="driver__opengl__extension__def_8h.html#a381">buffer</a>)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Sends a message to the remote host (in fact the message is buffered into the send queue).</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#a5">dataAvailable</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Checks if there is some data to receive.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#a6">receive</a> (<a class="el" href="classNLMISC_1_1CMemStream.html">NLMISC::CMemStream</a> &amp;<a class="el" href="driver__opengl__extension__def_8h.html#a381">buffer</a>)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Receives next block of data in the specified buffer (resizes the vector) You must call <a class="el" href="classNLNET_1_1CBufClient.html#a5">dataAvailable</a>() before every call to <a class="el" href="classNLNET_1_1CBufClient.html#a6">receive</a>().</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#a7">update</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Update the network (call this method evenly).</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#a8">getSendQueueSize</a> () const</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#a9">setTimeFlushTrigger</a> (<a class="el" href="memory__common_8h.html#a10">sint32</a> ms)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Sets the time flush trigger (in millisecond).</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#a10">setSizeFlushTrigger</a> (<a class="el" href="memory__common_8h.html#a10">sint32</a> <a class="el" href="cf__lexical_8cpp.html#a94">size</a>)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Sets the size flush trigger.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#a11">flush</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Force to send all data pending in the send queue.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#a12">connected</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns true if the connection is still connected (changed when a disconnection event has reached the front of the receive queue, just before calling the disconnection callback if there is one).</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#a13">remoteAddress</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns the address of the remote host.</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a13">uint64</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#a14">bytesDownloaded</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns the number of bytes downloaded (read or still in the receive buffer) since the latest connection.</em> <a href="#a14">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a13">uint64</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#a15">bytesUploaded</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns the number of bytes uploaded (flushed) since the latest connection.</em> <a href="#a15">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a13">uint64</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#a16">newBytesDownloaded</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns the number of bytes downloaded since the previous call to this method.</em> <a href="#a16">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a13">uint64</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#a17">newBytesUploaded</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns the number of bytes uploaded since the previous call to this method.</em> <a href="#a17">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLNET.html#a0">TSockId</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#a18">id</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns the id of the connection.</em> <a href="#a18">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLNET_1_1CBufSock.html">CBufSock</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#n0">_BufSock</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Send buffer and connection.</em> <a href="#n0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#n1">_NoDelay</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>True when the Nagle algorithm must be disabled (TCP_NODELAY).</em> <a href="#n1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a13">uint64</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#n2">_PrevBytesDownloaded</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Previous number of bytes downloaded.</em> <a href="#n2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a13">uint64</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#n3">_PrevBytesUploaded</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Previous number of bytes uploaded.</em> <a href="#n3">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLNET_1_1CClientReceiveTask.html">CClientReceiveTask</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#o0">_RecvTask</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Receive task.</em> <a href="#o0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1IThread.html">NLMISC::IThread</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#o1">_RecvThread</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Receive thread.</em> <a href="#o1">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Friends</h2></td></tr>
+<tr><td nowrap align=right valign=top>class&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CBufClient.html#l0">CClientReceiveTask</a></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+Client class for layer 1.
+<p>
+Active connection with packet scheme and buffering. The provided buffers are sent raw (no endianness conversion). By default, the size time trigger is disabled, the time trigger is set to 20 ms.
+<p>
+Where do the methods take place: \begincode <a class="el" href="classNLNET_1_1CBufClient.html#a4">send</a>() -&gt; send buffer -&gt; <a class="el" href="classNLNET_1_1CBufClient.html#a7">update</a>(), <a class="el" href="classNLNET_1_1CBufClient.html#a11">flush</a>(), <a class="el" href="classNLNET_1_1CBufClient.html#a15">bytesUploaded</a>(), <a class="el" href="classNLNET_1_1CBufClient.html#a17">newBytesUploaded</a>()
+<p>
+<a class="el" href="classNLNET_1_1CBufClient.html#a6">receive</a>(), &lt;- receive buffer &lt;- receive thread, <a class="el" href="classNLNET_1_1CBufClient.html#a5">dataAvailable</a>(), <a class="el" href="classNLNET_1_1CBufClient.html#a14">bytesDownloaded</a>(), <a class="el" href="classNLNET_1_1CBufClient.html#a16">newBytesDownloaded</a>() disconnection callback
+<p>
+<dl compact><dt><b>
+Author: </b><dd>
+Olivier Cado , Nevrax France </dl><dl compact><dt><b>
+Date: </b><dd>
+2001 </dl>
+<p>
+
+<p>
+Definition at line <a class="el" href="buf__client_8h-source.html#l00091">91</a> of file <a class="el" href="buf__client_8h-source.html">buf_client.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="NLNET::CBufClient::CBufClient"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLNET::CBufClient::CBufClient </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>nodelay</em> = true, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>replaymode</em> = false</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor. Set nodelay to true to disable the Nagle buffering algorithm (see <a class="el" href="classNLNET_1_1CTcpSock.html">CTcpSock</a> documentation).
+<p>
+
+<p>
+Definition at line <a class="el" href="buf__client_8cpp-source.html#l00054">54</a> of file <a class="el" href="buf__client_8cpp-source.html">buf_client.cpp</a>.
+<p>
+References <a class="el" href="buf__client_8h-source.html#l00197">_BufSock</a>, <a class="el" href="buf__client_8h-source.html#l00219">_RecvTask</a>, <a class="el" href="buf__client_8h-source.html#l00194">CClientReceiveTask</a>, and <a class="el" href="buf__sock_8h-source.html#l00040">nlnettrace</a>. </td>
+ </tr>
+</table>
+<a name="a1" doxytag="NLNET::CBufClient::~CBufClient"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLNET::CBufClient::~CBufClient </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Destructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="buf__client_8cpp-source.html#l00387">387</a> of file <a class="el" href="buf__client_8cpp-source.html">buf_client.cpp</a>.
+<p>
+References <a class="el" href="buf__client_8h-source.html#l00197">_BufSock</a>, <a class="el" href="buf__client_8h-source.html#l00219">_RecvTask</a>, <a class="el" href="buf__client_8h-source.html#l00222">_RecvThread</a>, <a class="el" href="buf__client_8cpp-source.html#l00308">disconnect</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="debug_8h-source.html#l00087">nldebug</a>, <a class="el" href="buf__sock_8h-source.html#l00040">nlnettrace</a>, and <a class="el" href="classNLMISC_1_1IThread.html#a3">NLMISC::IThread::wait</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="a14" doxytag="NLNET::CBufClient::bytesDownloaded"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a13">uint64</a> NLNET::CBufClient::bytesDownloaded </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns the number of bytes downloaded (read or still in the receive buffer) since the latest connection.
+<p>
+
+<p>
+Definition at line <a class="el" href="buf__client_8h-source.html#l00163">163</a> of file <a class="el" href="buf__client_8h-source.html">buf_client.h</a>.
+<p>
+References <a class="el" href="buf__client_8h-source.html#l00197">_BufSock</a>.
+<p>
+Referenced by <a class="el" href="buf__client_8cpp-source.html#l00351">newBytesDownloaded</a>. </td>
+ </tr>
+</table>
+<a name="a15" doxytag="NLNET::CBufClient::bytesUploaded"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a13">uint64</a> NLNET::CBufClient::bytesUploaded </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns the number of bytes uploaded (flushed) since the latest connection.
+<p>
+
+<p>
+Definition at line <a class="el" href="buf__client_8h-source.html#l00166">166</a> of file <a class="el" href="buf__client_8h-source.html">buf_client.h</a>.
+<p>
+References <a class="el" href="buf__client_8h-source.html#l00197">_BufSock</a>.
+<p>
+Referenced by <a class="el" href="buf__client_8cpp-source.html#l00360">newBytesUploaded</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="NLNET::CBufClient::connect"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::CBufClient::connect </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>addr</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Connects to the specified host.
+<p>
+
+<p>
+Reimplemented in <a class="el" href="classNLNET_1_1CCallbackClient.html#a4">NLNET::CCallbackClient</a>.
+<p>
+Definition at line <a class="el" href="buf__client_8cpp-source.html#l00082">82</a> of file <a class="el" href="buf__client_8cpp-source.html">buf_client.cpp</a>.
+<p>
+References <a class="el" href="buf__client_8h-source.html#l00197">_BufSock</a>, <a class="el" href="buf__client_8h-source.html#l00200">_NoDelay</a>, <a class="el" href="buf__client_8h-source.html#l00203">_PrevBytesDownloaded</a>, <a class="el" href="buf__client_8h-source.html#l00206">_PrevBytesUploaded</a>, <a class="el" href="buf__client_8h-source.html#l00219">_RecvTask</a>, <a class="el" href="buf__client_8h-source.html#l00222">_RecvThread</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00823">addr</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="buf__sock_8h-source.html#l00040">nlnettrace</a>, and <a class="el" href="classNLMISC_1_1IThread.html#a1">NLMISC::IThread::start</a>. </td>
+ </tr>
+</table>
+<a name="a12" doxytag="NLNET::CBufClient::connected"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NLNET::CBufClient::connected </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns true if the connection is still connected (changed when a disconnection event has reached the front of the receive queue, just before calling the disconnection callback if there is one).
+<p>
+
+<p>
+Reimplemented in <a class="el" href="classNLNET_1_1CCallbackClient.html#a5">NLNET::CCallbackClient</a>.
+<p>
+Definition at line <a class="el" href="buf__client_8h-source.html#l00157">157</a> of file <a class="el" href="buf__client_8h-source.html">buf_client.h</a>.
+<p>
+References <a class="el" href="buf__client_8h-source.html#l00197">_BufSock</a>. </td>
+ </tr>
+</table>
+<a name="a5" doxytag="NLNET::CBufClient::dataAvailable"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NLNET::CBufClient::dataAvailable </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Checks if there is some data to receive.
+<p>
+Returns false if the receive queue is empty. This is where the connection/disconnection callbacks can be called
+<p>
+Reimplemented in <a class="el" href="classNLNET_1_1CCallbackClient.html#c1">NLNET::CCallbackClient</a>.
+<p>
+Definition at line <a class="el" href="buf__client_8cpp-source.html#l00130">130</a> of file <a class="el" href="buf__client_8cpp-source.html">buf_client.cpp</a>.
+<p>
+References <a class="el" href="buf__client_8h-source.html#l00197">_BufSock</a>, <a class="el" href="buf__net__base_8h-source.html#l00149">NLNET::CBufNetBase::argOfDisconnectionCallback</a>, <a class="el" href="buf__net__base_8h-source.html#l00056">NLNET::CFifoAccessor</a>, <a class="el" href="buf__net__base_8h-source.html#l00195">NLNET::CBufNetBase::dataAvailableFlag</a>, <a class="el" href="buf__net__base_8h-source.html#l00146">NLNET::CBufNetBase::disconnectionCallback</a>, <a class="el" href="buf__client_8h-source.html#l00189">id</a>, <a class="el" href="debug_8h-source.html#l00087">nldebug</a>, <a class="el" href="debug_8h-source.html#l00133">nlerror</a>, <a class="el" href="debug_8h-source.html#l00094">nlinfo</a>, <a class="el" href="buf__net__base_8h-source.html#l00143">NLNET::CBufNetBase::receiveQueue</a>, and <a class="el" href="buf__net__base_8h-source.html#l00192">NLNET::CBufNetBase::setDataAvailableFlag</a>. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="NLNET::CBufClient::disconnect"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::CBufClient::disconnect </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>quick</em> = false </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Disconnects the remote host and empties the receive queue.
+<p>
+Before that, flushes pending data to send unless quick is true. The disconnection callback will *not* be called. Do not call if the socket is not connected.
+<p>
+Definition at line <a class="el" href="buf__client_8cpp-source.html#l00308">308</a> of file <a class="el" href="buf__client_8cpp-source.html">buf_client.cpp</a>.
+<p>
+References <a class="el" href="buf__client_8h-source.html#l00197">_BufSock</a>, <a class="el" href="buf__net__base_8h-source.html#l00056">NLNET::CFifoAccessor</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="buf__sock_8h-source.html#l00040">nlnettrace</a>, <a class="el" href="buf__net__base_8h-source.html#l00143">NLNET::CBufNetBase::receiveQueue</a>, and <a class="el" href="buf__net__base_8h-source.html#l00192">NLNET::CBufNetBase::setDataAvailableFlag</a>.
+<p>
+Referenced by <a class="el" href="buf__client_8cpp-source.html#l00387">~CBufClient</a>. </td>
+ </tr>
+</table>
+<a name="a11" doxytag="NLNET::CBufClient::flush"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NLNET::CBufClient::flush </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Force to send all data pending in the send queue.
+<p>
+<dl compact><dt><b>
+Returns: </b><dd>
+False if an error has occured (e.g. the remote host is disconnected). To retrieve the reason of the error, call <a class="el" href="classNLNET_1_1CSock.html#d2">CSock::getLastError</a>() and/or <a class="el" href="classNLNET_1_1CSock.html#d3">CSock::errorString</a>() </dl>
+<p>
+Definition at line <a class="el" href="buf__client_8h-source.html#l00149">149</a> of file <a class="el" href="buf__client_8h-source.html">buf_client.h</a>.
+<p>
+References <a class="el" href="buf__client_8h-source.html#l00197">_BufSock</a>. </td>
+ </tr>
+</table>
+<a name="a8" doxytag="NLNET::CBufClient::getSendQueueSize"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NLNET::CBufClient::getSendQueueSize </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="buf__client_8h-source.html#l00133">133</a> of file <a class="el" href="buf__client_8h-source.html">buf_client.h</a>.
+<p>
+References <a class="el" href="buf__client_8h-source.html#l00197">_BufSock</a>. </td>
+ </tr>
+</table>
+<a name="a18" doxytag="NLNET::CBufClient::id"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="namespaceNLNET.html#a0">TSockId</a> NLNET::CBufClient::id </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns the id of the connection.
+<p>
+
+<p>
+Definition at line <a class="el" href="buf__client_8h-source.html#l00189">189</a> of file <a class="el" href="buf__client_8h-source.html">buf_client.h</a>.
+<p>
+References <a class="el" href="buf__client_8h-source.html#l00197">_BufSock</a>, and <a class="el" href="buf__net__base_8h-source.html#l00042">NLNET::TSockId</a>.
+<p>
+Referenced by <a class="el" href="buf__client_8cpp-source.html#l00130">dataAvailable</a>, <a class="el" href="callback__client_8cpp-source.html#l00269">NLNET::CCallbackClient::getSockId</a>, and <a class="el" href="callback__client_8cpp-source.html#l00217">NLNET::CCallbackClient::receive</a>. </td>
+ </tr>
+</table>
+<a name="a16" doxytag="NLNET::CBufClient::newBytesDownloaded"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a13">uint64</a> NLNET::CBufClient::newBytesDownloaded </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns the number of bytes downloaded since the previous call to this method.
+<p>
+
+<p>
+Definition at line <a class="el" href="buf__client_8cpp-source.html#l00351">351</a> of file <a class="el" href="buf__client_8cpp-source.html">buf_client.cpp</a>.
+<p>
+References <a class="el" href="buf__client_8h-source.html#l00203">_PrevBytesDownloaded</a>, <a class="el" href="buf__client_8h-source.html#l00163">bytesDownloaded</a>, and <a class="el" href="buf__client_8cpp-source.html#l00340">NLNET::updateStatCounter</a>. </td>
+ </tr>
+</table>
+<a name="a17" doxytag="NLNET::CBufClient::newBytesUploaded"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a13">uint64</a> NLNET::CBufClient::newBytesUploaded </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns the number of bytes uploaded since the previous call to this method.
+<p>
+
+<p>
+Definition at line <a class="el" href="buf__client_8cpp-source.html#l00360">360</a> of file <a class="el" href="buf__client_8cpp-source.html">buf_client.cpp</a>.
+<p>
+References <a class="el" href="buf__client_8h-source.html#l00206">_PrevBytesUploaded</a>, <a class="el" href="buf__client_8h-source.html#l00166">bytesUploaded</a>, and <a class="el" href="buf__client_8cpp-source.html#l00340">NLNET::updateStatCounter</a>. </td>
+ </tr>
+</table>
+<a name="a6" doxytag="NLNET::CBufClient::receive"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::CBufClient::receive </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CMemStream.html">NLMISC::CMemStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>buffer</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Receives next block of data in the specified buffer (resizes the vector) You must call <a class="el" href="classNLNET_1_1CBufClient.html#a5">dataAvailable</a>() before every call to <a class="el" href="classNLNET_1_1CBufClient.html#a6">receive</a>().
+<p>
+
+<p>
+Definition at line <a class="el" href="buf__client_8cpp-source.html#l00262">262</a> of file <a class="el" href="buf__client_8cpp-source.html">buf_client.cpp</a>.
+<p>
+References <a class="el" href="mem__stream_8h-source.html#l00167">NLMISC::CMemStream::buffer</a>, <a class="el" href="buf__net__base_8h-source.html#l00056">NLNET::CFifoAccessor</a>, <a class="el" href="mem__stream_8h-source.html#l00152">NLMISC::CMemStream::length</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="buf__sock_8h-source.html#l00040">nlnettrace</a>, <a class="el" href="buf__net__base_8h-source.html#l00143">NLNET::CBufNetBase::receiveQueue</a>, <a class="el" href="mem__stream_8cpp-source.html#l00221">NLMISC::CMemStream::resize</a>, and <a class="el" href="buf__net__base_8h-source.html#l00192">NLNET::CBufNetBase::setDataAvailableFlag</a>. </td>
+ </tr>
+</table>
+<a name="a13" doxytag="NLNET::CBufClient::remoteAddress"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> const <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a>&amp; NLNET::CBufClient::remoteAddress </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns the address of the remote host.
+<p>
+
+<p>
+Definition at line <a class="el" href="buf__client_8h-source.html#l00160">160</a> of file <a class="el" href="buf__client_8h-source.html">buf_client.h</a>.
+<p>
+References <a class="el" href="buf__client_8h-source.html#l00197">_BufSock</a>.
+<p>
+Referenced by <a class="el" href="callback__client_8h-source.html#l00071">NLNET::CCallbackClient::hostAddress</a>. </td>
+ </tr>
+</table>
+<a name="a4" doxytag="NLNET::CBufClient::send"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::CBufClient::send </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CMemStream.html">NLMISC::CMemStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>buffer</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Sends a message to the remote host (in fact the message is buffered into the send queue).
+<p>
+
+<p>
+Reimplemented in <a class="el" href="classNLNET_1_1CCallbackClient.html#c0">NLNET::CCallbackClient</a>.
+<p>
+Definition at line <a class="el" href="buf__client_8cpp-source.html#l00111">111</a> of file <a class="el" href="buf__client_8cpp-source.html">buf_client.cpp</a>.
+<p>
+References <a class="el" href="buf__client_8h-source.html#l00197">_BufSock</a>, <a class="el" href="mem__stream_8h-source.html#l00152">NLMISC::CMemStream::length</a>, <a class="el" href="buf__net__base_8h-source.html#l00130">NLNET::CBufNetBase::maxSentBlockSize</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="buf__sock_8h-source.html#l00040">nlnettrace</a>. </td>
+ </tr>
+</table>
+<a name="a10" doxytag="NLNET::CBufClient::setSizeFlushTrigger"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::CBufClient::setSizeFlushTrigger </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a10">sint32</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>size</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Sets the size flush trigger.
+<p>
+When the size of the send queue reaches or exceeds this calue, all data in the send queue is automatically sent (-1 to disable this trigger )
+<p>
+Definition at line <a class="el" href="buf__client_8h-source.html#l00143">143</a> of file <a class="el" href="buf__client_8h-source.html">buf_client.h</a>.
+<p>
+References <a class="el" href="buf__client_8h-source.html#l00197">_BufSock</a>. </td>
+ </tr>
+</table>
+<a name="a9" doxytag="NLNET::CBufClient::setTimeFlushTrigger"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::CBufClient::setTimeFlushTrigger </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a10">sint32</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>ms</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Sets the time flush trigger (in millisecond).
+<p>
+When this time is elapsed, all data in the send queue is automatically sent (-1 to disable this trigger)
+<p>
+Definition at line <a class="el" href="buf__client_8h-source.html#l00138">138</a> of file <a class="el" href="buf__client_8h-source.html">buf_client.h</a>.
+<p>
+References <a class="el" href="buf__client_8h-source.html#l00197">_BufSock</a>. </td>
+ </tr>
+</table>
+<a name="a7" doxytag="NLNET::CBufClient::update"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLNET::CBufClient::update </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Update the network (call this method evenly).
+<p>
+
+<p>
+Definition at line <a class="el" href="buf__client_8cpp-source.html#l00286">286</a> of file <a class="el" href="buf__client_8cpp-source.html">buf_client.cpp</a>.
+<p>
+References <a class="el" href="buf__client_8h-source.html#l00197">_BufSock</a>. </td>
+ </tr>
+</table>
+<hr><h2>Friends And Related Function Documentation</h2>
+<a name="l0" doxytag="NLNET::CBufClient::CClientReceiveTask"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> friend class CClientReceiveTask<code> [friend]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="buf__client_8h-source.html#l00194">194</a> of file <a class="el" href="buf__client_8h-source.html">buf_client.h</a>.
+<p>
+Referenced by <a class="el" href="buf__client_8cpp-source.html#l00054">CBufClient</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="n0" doxytag="NLNET::CBufClient::_BufSock"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLNET_1_1CBufSock.html">CBufSock</a>* NLNET::CBufClient::_BufSock<code> [protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Send buffer and connection.
+<p>
+
+<p>
+Definition at line <a class="el" href="buf__client_8h-source.html#l00197">197</a> of file <a class="el" href="buf__client_8h-source.html">buf_client.h</a>.
+<p>
+Referenced by <a class="el" href="buf__client_8h-source.html#l00163">bytesDownloaded</a>, <a class="el" href="buf__client_8h-source.html#l00166">bytesUploaded</a>, <a class="el" href="buf__client_8cpp-source.html#l00054">CBufClient</a>, <a class="el" href="callback__client_8cpp-source.html#l00283">NLNET::CCallbackClient::connect</a>, <a class="el" href="buf__client_8cpp-source.html#l00082">connect</a>, <a class="el" href="buf__client_8h-source.html#l00157">connected</a>, <a class="el" href="buf__client_8cpp-source.html#l00130">dataAvailable</a>, <a class="el" href="callback__client_8cpp-source.html#l00351">NLNET::CCallbackClient::disconnect</a>, <a class="el" href="buf__client_8cpp-source.html#l00308">disconnect</a>, <a class="el" href="buf__client_8h-source.html#l00149">flush</a>, <a class="el" href="buf__client_8h-source.html#l00133">getSendQueueSize</a>, <a class="el" href="buf__client_8h-source.html#l00189">id</a>, <a class="el" href="buf__client_8h-source.html#l00160">remoteAddress</a>, <a class="el" href="buf__client_8cpp-source.html#l00111">send</a>, <a class="el" href="buf__client_8h-source.html#l00143">setSizeFlushTrigger</a>, <a class="el" href="buf__client_8h-source.html#l00138">setTimeFlushTrigger</a>, <a class="el" href="buf__client_8cpp-source.html#l00286">update</a>, and <a class="el" href="buf__client_8cpp-source.html#l00387">~CBufClient</a>. </td>
+ </tr>
+</table>
+<a name="n1" doxytag="NLNET::CBufClient::_NoDelay"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NLNET::CBufClient::_NoDelay<code> [protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+True when the Nagle algorithm must be disabled (TCP_NODELAY).
+<p>
+
+<p>
+Definition at line <a class="el" href="buf__client_8h-source.html#l00200">200</a> of file <a class="el" href="buf__client_8h-source.html">buf_client.h</a>.
+<p>
+Referenced by <a class="el" href="callback__client_8cpp-source.html#l00283">NLNET::CCallbackClient::connect</a>, and <a class="el" href="buf__client_8cpp-source.html#l00082">connect</a>. </td>
+ </tr>
+</table>
+<a name="n2" doxytag="NLNET::CBufClient::_PrevBytesDownloaded"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a13">uint64</a> NLNET::CBufClient::_PrevBytesDownloaded<code> [protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Previous number of bytes downloaded.
+<p>
+
+<p>
+Definition at line <a class="el" href="buf__client_8h-source.html#l00203">203</a> of file <a class="el" href="buf__client_8h-source.html">buf_client.h</a>.
+<p>
+Referenced by <a class="el" href="callback__client_8cpp-source.html#l00283">NLNET::CCallbackClient::connect</a>, <a class="el" href="buf__client_8cpp-source.html#l00082">connect</a>, and <a class="el" href="buf__client_8cpp-source.html#l00351">newBytesDownloaded</a>. </td>
+ </tr>
+</table>
+<a name="n3" doxytag="NLNET::CBufClient::_PrevBytesUploaded"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a13">uint64</a> NLNET::CBufClient::_PrevBytesUploaded<code> [protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Previous number of bytes uploaded.
+<p>
+
+<p>
+Definition at line <a class="el" href="buf__client_8h-source.html#l00206">206</a> of file <a class="el" href="buf__client_8h-source.html">buf_client.h</a>.
+<p>
+Referenced by <a class="el" href="callback__client_8cpp-source.html#l00283">NLNET::CCallbackClient::connect</a>, <a class="el" href="buf__client_8cpp-source.html#l00082">connect</a>, and <a class="el" href="buf__client_8cpp-source.html#l00360">newBytesUploaded</a>. </td>
+ </tr>
+</table>
+<a name="o0" doxytag="NLNET::CBufClient::_RecvTask"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLNET_1_1CClientReceiveTask.html">CClientReceiveTask</a>* NLNET::CBufClient::_RecvTask<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Receive task.
+<p>
+
+<p>
+Definition at line <a class="el" href="buf__client_8h-source.html#l00219">219</a> of file <a class="el" href="buf__client_8h-source.html">buf_client.h</a>.
+<p>
+Referenced by <a class="el" href="buf__client_8cpp-source.html#l00054">CBufClient</a>, <a class="el" href="buf__client_8cpp-source.html#l00082">connect</a>, and <a class="el" href="buf__client_8cpp-source.html#l00387">~CBufClient</a>. </td>
+ </tr>
+</table>
+<a name="o1" doxytag="NLNET::CBufClient::_RecvThread"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1IThread.html">NLMISC::IThread</a>* NLNET::CBufClient::_RecvThread<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Receive thread.
+<p>
+
+<p>
+Definition at line <a class="el" href="buf__client_8h-source.html#l00222">222</a> of file <a class="el" href="buf__client_8h-source.html">buf_client.h</a>.
+<p>
+Referenced by <a class="el" href="buf__client_8cpp-source.html#l00082">connect</a>, and <a class="el" href="buf__client_8cpp-source.html#l00387">~CBufClient</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="buf__client_8h-source.html">buf_client.h</a><li><a class="el" href="buf__client_8cpp-source.html">buf_client.cpp</a></ul>
+
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
+</TD>
+<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
+</TR>
+</TABLE>
+</BODY>
+</HTML>