diff options
Diffstat (limited to 'docs/doxygen/nel/classNLNET_1_1CCallbackNetBase.html')
-rw-r--r-- | docs/doxygen/nel/classNLNET_1_1CCallbackNetBase.html | 1760 |
1 files changed, 1760 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLNET_1_1CCallbackNetBase.html b/docs/doxygen/nel/classNLNET_1_1CCallbackNetBase.html new file mode 100644 index 00000000..ed21afd3 --- /dev/null +++ b/docs/doxygen/nel/classNLNET_1_1CCallbackNetBase.html @@ -0,0 +1,1760 @@ +<!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> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </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> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </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> + + +<!-- 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> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <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> </center> +<hr><h1>NLNET::CCallbackNetBase Class Reference</h1>Layer 3. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>></code> +<p> +<p>Inheritance diagram for NLNET::CCallbackNetBase: +<p><center><img src="classNLNET_1_1CCallbackNetBase.gif" usemap="#NLNET::CCallbackNetBase_map" border="0"></center> +<map name="NLNET::CCallbackNetBase_map"> +<area href="classNLNET_1_1CCallbackClient.html" alt="NLNET::CCallbackClient" shape="rect" coords="0,56,163,80"> +<area href="classNLNET_1_1CCallbackServer.html" alt="NLNET::CCallbackServer" shape="rect" coords="173,56,336,80"> +</map> +<a href="classNLNET_1_1CCallbackNetBase-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#s3">TRecordingState</a> { <a class="el" href="classNLNET_1_1CCallbackNetBase.html#s3s0">Off</a>, +<a class="el" href="classNLNET_1_1CCallbackNetBase.html#s3s1">Record</a>, +<a class="el" href="classNLNET_1_1CCallbackNetBase.html#s3s2">Replay</a> + }</td></tr> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a0">~CCallbackNetBase</a> ()</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a1">send</a> (const <a class="el" href="classNLNET_1_1CMessage.html">CMessage</a> &<a class="el" href="driver__opengl__extension__def_8h.html#a381">buffer</a>, <a class="el" href="namespaceNLNET.html#a0">TSockId</a> hostid=<a class="el" href="namespaceNLNET.html#a1">InvalidSockId</a>, bool log=true)=0</td></tr> +<tr><td> </td><td><font size=-1><em>Sends a message to special connection.</em> <a href="#a1">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> </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a2">getBytesSent</a> ()</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a13">uint64</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a3">getBytesReceived</a> ()</td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="memory__common_8h.html#a13">uint64</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a4">getReceiveQueueSize</a> ()=0</td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="memory__common_8h.html#a13">uint64</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a5">getSendQueueSize</a> ()=0</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a6">flush</a> (<a class="el" href="namespaceNLNET.html#a0">TSockId</a> hostid=<a class="el" href="namespaceNLNET.html#a1">InvalidSockId</a>)=0</td></tr> +<tr><td> </td><td><font size=-1><em>Force to send all data pending in the send queue.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a7">addCallbackArray</a> (const <a class="el" href="structNLNET_1_1TCallbackItem.html">TCallbackItem</a> *callbackarray, <a class="el" href="classNLMISC_1_1CStringIdArray.html#s0">NLMISC::CStringIdArray::TStringId</a> arraysize)</td></tr> +<tr><td> </td><td><font size=-1><em>Appends callback array with the specified array.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a8">setDefaultCallback</a> (<a class="el" href="namespaceNLNET.html#a9">TMsgCallback</a> defaultCallback)</td></tr> +<tr><td> </td><td><font size=-1><em>Sets default callback for unknown message types.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a9">setDisconnectionCallback</a> (<a class="el" href="namespaceNLNET.html#a2">TNetCallback</a> cb, void *arg)</td></tr> +<tr><td> </td><td><font size=-1><em>Sets callback for disconnections (or NULL to disable callback).</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="namespaceNLNET.html#a0">TSockId</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a10">getSockId</a> (<a class="el" href="namespaceNLNET.html#a0">TSockId</a> hostid=<a class="el" href="namespaceNLNET.html#a1">InvalidSockId</a>)=0</td></tr> +<tr><td> </td><td><font size=-1><em>returns the sockid of a connection. On a server, this function returns the parameter. On a client, it returns the connection.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a11">authorizeOnly</a> (const char *callbackName, <a class="el" href="namespaceNLNET.html#a0">TSockId</a> hostid=<a class="el" href="namespaceNLNET.html#a1">InvalidSockId</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>Sets the callback that you want the other side calls.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a12">isAServer</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Returns true if this is a <a class="el" href="classNLNET_1_1CCallbackServer.html">CCallbackServer</a>.</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CStringIdArray.html">NLMISC::CStringIdArray</a> & </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a13">getSIDA</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Use this function to get the String ID Array needed when you want to create a message.</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a14">dataAvailable</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>This function is implemented in the client and server class.</em> <a href="#a14">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a15">update</a> (<a class="el" href="memory__common_8h.html#a10">sint32</a> timeout=0)</td></tr> +<tr><td> </td><td><font size=-1><em>This function is implemented in the client and server class.</em> <a href="#a15">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a16">connected</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>This function is implemented in the client and server class.</em> <a href="#a16">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a17">disconnect</a> (<a class="el" href="namespaceNLNET.html#a0">TSockId</a> hostid=<a class="el" href="namespaceNLNET.html#a1">InvalidSockId</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>This function is implemented in the client and server class.</em> <a href="#a17">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual const <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> & </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a18">hostAddress</a> (<a class="el" href="namespaceNLNET.html#a0">TSockId</a> hostid)</td></tr> +<tr><td> </td><td><font size=-1><em>Returns the address of the specified host.</em> <a href="#a18">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a19">sendAllMyAssociations</a> (<a class="el" href="namespaceNLNET.html#a0">TSockId</a> to)</td></tr> +<tr><td> </td><td><font size=-1><em>Used by client and server class.</em> <a href="#a19">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a20">setOtherSideAssociations</a> (const char **associationarray, <a class="el" href="classNLMISC_1_1CStringIdArray.html#s0">NLMISC::CStringIdArray::TStringId</a> arraysize)</td></tr> +<tr><td> </td><td><font size=-1><em>Gives some association of the other side.</em> <a href="#a20">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a21">displayAllMyAssociations</a> ()</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#a22">ignoreAllUnknownId</a> (bool b)</td></tr> +<tr><td> </td><td><font size=-1><em>If you ignore all unknown id, the net will not ask for other side to know new association. It's used in the naming service for example because the naming client will never answer. In this case, it will always send the message with the full string name (slower).</em> <a href="#a22">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#b0">CCallbackNetBase</a> (<a class="el" href="classNLNET_1_1CCallbackNetBase.html#s3">TRecordingState</a> rec=Off, const std::string &recfilename="", bool recordall=true)</td></tr> +<tr><td> </td><td><font size=-1><em>Constructor.</em> <a href="#b0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#b1">baseUpdate</a> (<a class="el" href="memory__common_8h.html#a10">sint32</a> timeout=0)</td></tr> +<tr><td> </td><td><font size=-1><em>Used by client and server class.</em> <a href="#b1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#b2">processOneMessage</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Read a message from the network and process it.</em> <a href="#b2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#b3">receive</a> (<a class="el" href="classNLNET_1_1CMessage.html">CMessage</a> &<a class="el" href="driver__opengl__extension__def_8h.html#a381">buffer</a>, <a class="el" href="namespaceNLNET.html#a0">TSockId</a> *hostid)=0</td></tr> +<tr><td> </td><td><font size=-1><em>On this layer, you can't call directly receive, It s the <a class="el" href="classNLNET_1_1CCallbackNetBase.html#a15">update</a>() function that receive and call your callaback.</em> <a href="#b3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#b4">checkThreadId</a> () const</td></tr> +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a13">uint64</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#n0">_BytesSent</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a13">uint64</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#n1">_BytesReceived</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLNET.html#a2">TNetCallback</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#n2">_NewDisconnectionCallback</a></td></tr> +<tr><td> </td><td><font size=-1><em>Used by client and server class.</em> <a href="#n2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CStringIdArray.html">NLMISC::CStringIdArray</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#n3">_InputSIDA</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CStringIdArray.html">NLMISC::CStringIdArray</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#n4">_OutputSIDA</a></td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="structNLNET_1_1TCallbackItem.html">TCallbackItem</a> > </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#n5">_CallbackArray</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLNET.html#a9">TMsgCallback</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#n6">_DefaultCallback</a></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#n7">_IsAServer</a></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#n8">_FirstUpdate</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#n9">_ThreadId</a></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#o0">_LastUpdateTime</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#o1">_LastMovedStringArray</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLNET.html#a2">TNetCallback</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#o2">_DisconnectionCallback</a></td></tr> +<tr><td nowrap align=right valign=top>void * </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#o3">_DisconnectionCbArg</a></td></tr> +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#l0">cbnbMessageAskAssociations</a> (<a class="el" href="classNLNET_1_1CMessage.html">CMessage</a> &msgin, <a class="el" href="namespaceNLNET.html#a0">TSockId</a> <a class="el" href="cf__gramatical_8cpp.html#a69">from</a>, CCallbackNetBase &netbase)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#l1">cbnbMessageRecvAssociations</a> (<a class="el" href="classNLNET_1_1CMessage.html">CMessage</a> &msgin, <a class="el" href="namespaceNLNET.html#a0">TSockId</a> <a class="el" href="cf__gramatical_8cpp.html#a69">from</a>, CCallbackNetBase &netbase)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CCallbackNetBase.html#l2">cbnbNewDisconnection</a> (<a class="el" href="namespaceNLNET.html#a0">TSockId</a> <a class="el" href="cf__gramatical_8cpp.html#a69">from</a>, void *<a class="el" href="driver__opengl__extension__def_8h.html#a394">data</a>)</td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Layer 3. +<p> +<dl compact><dt><b> +Author: </b><dd> +Vianney Lecroart , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2001 </dl> +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00075">75</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>.<hr><h2>Member Enumeration Documentation</h2> +<a name="s3" doxytag="NLNET::CCallbackNetBase::TRecordingState"></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"> enum NLNET::CCallbackNetBase::TRecordingState + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b> +Enumeration values:</b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a name="s3s0" doxytag="Off"></a><em>Off</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s3s1" doxytag="Record"></a><em>Record</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s3s2" doxytag="Replay"></a><em>Replay</em></em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00158">158</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="NLNET::CCallbackNetBase::~CCallbackNetBase"></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"> virtual NLNET::CCallbackNetBase::~CCallbackNetBase </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00078">78</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. </td> + </tr> +</table> +<a name="b0" doxytag="NLNET::CCallbackNetBase::CCallbackNetBase"></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::CCallbackNetBase::CCallbackNetBase </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLNET_1_1CCallbackNetBase.html#s3">TRecordingState</a> </td> + <td class="mdname" nowrap> <em>rec</em> = Off, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const std::string & </td> + <td class="mdname" nowrap> <em>recfilename</em> = "", </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>recordall</em> = true</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a7" doxytag="NLNET::CCallbackNetBase::addCallbackArray"></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::CCallbackNetBase::addCallbackArray </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="structNLNET_1_1TCallbackItem.html">TCallbackItem</a> * </td> + <td class="mdname" nowrap> <em>callbackarray</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNLMISC_1_1CStringIdArray.html#s0">NLMISC::CStringIdArray::TStringId</a> </td> + <td class="mdname" nowrap> <em>arraysize</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Appends callback array with the specified array. +<p> +You can add callback only *after* adding the server or the client. <dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>arraysize</em> </td><td> +is the number of callback items. </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="callback__net__base_8cpp-source.html#l00184">184</a> of file <a class="el" href="callback__net__base_8cpp-source.html">callback_net_base.cpp</a>. +<p> +References <a class="el" href="callback__net__base_8h-source.html#l00191">_CallbackArray</a>, <a class="el" href="callback__net__base_8h-source.html#l00188">_OutputSIDA</a>, <a class="el" href="string__id__array_8h-source.html#l00059">NLMISC::CStringIdArray::addString</a>, <a class="el" href="callback__net__base_8cpp-source.html#l00531">checkThreadId</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="string__id__array_8h-source.html#l00142">NLMISC::CStringIdArray::resize</a>, and <a class="el" href="string__id__array_8h-source.html#l00148">NLMISC::CStringIdArray::size</a>. +<p> +Referenced by <a class="el" href="callback__client_8cpp-source.html#l00059">NLNET::CCallbackClient::CCallbackClient</a>. </td> + </tr> +</table> +<a name="a11" doxytag="NLNET::CCallbackNetBase::authorizeOnly"></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::CCallbackNetBase::authorizeOnly </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>callbackName</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="namespaceNLNET.html#a0">TSockId</a> </td> + <td class="mdname" nowrap> <em>hostid</em> = <a class="el" href="namespaceNLNET.html#a1">InvalidSockId</a></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Sets the callback that you want the other side calls. +<p> +If it didn't call this callback, it will be disconnected If cb is NULL, we authorize *all* callback. On a client, the hostid must be InvalidSockId (or ommited). On a server, you must provide a hostid. +<p> +Definition at line <a class="el" href="callback__net__base_8cpp-source.html#l00469">469</a> of file <a class="el" href="callback__net__base_8cpp-source.html">callback_net_base.cpp</a>. +<p> +References <a class="el" href="callback__net__base_8cpp-source.html#l00531">checkThreadId</a>, <a class="el" href="classNLNET_1_1CCallbackNetBase.html#a10">getSockId</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="debug_8h-source.html#l00087">nldebug</a>, and <a class="el" href="buf__net__base_8h-source.html#l00042">NLNET::TSockId</a>. </td> + </tr> +</table> +<a name="b1" doxytag="NLNET::CCallbackNetBase::baseUpdate"></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::CCallbackNetBase::baseUpdate </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a10">sint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>timeout</em> = 0 </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Used by client and server class. +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8cpp-source.html#l00328">328</a> of file <a class="el" href="callback__net__base_8cpp-source.html">callback_net_base.cpp</a>. +<p> +References <a class="el" href="callback__net__base_8h-source.html#l00197">_FirstUpdate</a>, <a class="el" href="callback__net__base_8h-source.html#l00183">_InputSIDA</a>, <a class="el" href="callback__net__base_8h-source.html#l00215">_LastMovedStringArray</a>, <a class="el" href="callback__net__base_8h-source.html#l00214">_LastUpdateTime</a>, <a class="el" href="callback__net__base_8cpp-source.html#l00531">checkThreadId</a>, <a class="el" href="callback__net__base_8h-source.html#l00127">dataAvailable</a>, <a class="el" href="string__id__array_8h-source.html#l00160">NLMISC::CStringIdArray::getAskedStringArray</a>, <a class="el" href="string__id__array_8h-source.html#l00154">NLMISC::CStringIdArray::getNeedToAskedStringArray</a>, <a class="el" href="string__id__array_8h-source.html#l00166">NLMISC::CStringIdArray::moveNeedToAskToAskedStringArray</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="common_8cpp-source.html#l00065">NLMISC::nlSleep</a>, <a class="el" href="callback__net__base_8cpp-source.html#l00223">processOneMessage</a>, <a class="el" href="classNLNET_1_1CCallbackNetBase.html#a1">send</a>, and <a class="el" href="time__nl_8h-source.html#l00047">NLMISC::TTime</a>. +<p> +Referenced by <a class="el" href="callback__server_8cpp-source.html#l00175">NLNET::CCallbackServer::update</a>, and <a class="el" href="callback__client_8cpp-source.html#l00162">NLNET::CCallbackClient::update</a>. </td> + </tr> +</table> +<a name="b4" doxytag="NLNET::CCallbackNetBase::checkThreadId"></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::CCallbackNetBase::checkThreadId </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8cpp-source.html#l00531">531</a> of file <a class="el" href="callback__net__base_8cpp-source.html">callback_net_base.cpp</a>. +<p> +Referenced by <a class="el" href="callback__net__base_8cpp-source.html#l00184">addCallbackArray</a>, <a class="el" href="callback__net__base_8cpp-source.html#l00469">authorizeOnly</a>, <a class="el" href="callback__net__base_8cpp-source.html#l00328">baseUpdate</a>, <a class="el" href="callback__client_8cpp-source.html#l00283">NLNET::CCallbackClient::connect</a>, <a class="el" href="callback__server_8h-source.html#l00067">NLNET::CCallbackServer::connected</a>, <a class="el" href="callback__client_8h-source.html#l00069">NLNET::CCallbackClient::connected</a>, <a class="el" href="callback__server_8cpp-source.html#l00280">NLNET::CCallbackServer::dataAvailable</a>, <a class="el" href="callback__client_8cpp-source.html#l00189">NLNET::CCallbackClient::dataAvailable</a>, <a class="el" href="callback__server_8cpp-source.html#l00243">NLNET::CCallbackServer::disconnect</a>, <a class="el" href="callback__client_8cpp-source.html#l00351">NLNET::CCallbackClient::disconnect</a>, <a class="el" href="callback__net__base_8cpp-source.html#l00462">displayAllMyAssociations</a>, <a class="el" href="callback__server_8h-source.html#l00055">NLNET::CCallbackServer::flush</a>, <a class="el" href="callback__client_8cpp-source.html#l00134">NLNET::CCallbackClient::flush</a>, <a class="el" href="callback__server_8cpp-source.html#l00265">NLNET::CCallbackServer::getSockId</a>, <a class="el" href="callback__client_8cpp-source.html#l00269">NLNET::CCallbackClient::getSockId</a>, <a class="el" href="callback__server_8h-source.html#l00077">NLNET::CCallbackServer::hostAddress</a>, <a class="el" href="callback__net__base_8h-source.html#l00121">isAServer</a>, <a class="el" href="callback__net__base_8cpp-source.html#l00223">processOneMessage</a>, <a class="el" href="callback__server_8cpp-source.html#l00202">NLNET::CCallbackServer::receive</a>, <a class="el" href="callback__client_8cpp-source.html#l00217">NLNET::CCallbackClient::receive</a>, <a class="el" href="callback__server_8cpp-source.html#l00124">NLNET::CCallbackServer::send</a>, <a class="el" href="callback__client_8cpp-source.html#l00079">NLNET::CCallbackClient::send</a>, <a class="el" href="callback__server_8cpp-source.html#l00091">NLNET::CCallbackServer::sendAllMyAssociations</a>, <a class="el" href="callback__server_8h-source.html#l00061">NLNET::CCallbackServer::setConnectionCallback</a>, <a class="el" href="callback__server_8h-source.html#l00064">NLNET::CCallbackServer::setDisconnectionCallback</a>, <a class="el" href="callback__net__base_8h-source.html#l00108">setDisconnectionCallback</a>, <a class="el" href="callback__client_8h-source.html#l00080">NLNET::CCallbackClient::setDisconnectionCallback</a>, <a class="el" href="callback__net__base_8cpp-source.html#l00449">setOtherSideAssociations</a>, <a class="el" href="callback__server_8cpp-source.html#l00175">NLNET::CCallbackServer::update</a>, and <a class="el" href="callback__client_8cpp-source.html#l00162">NLNET::CCallbackClient::update</a>. </td> + </tr> +</table> +<a name="a16" doxytag="NLNET::CCallbackNetBase::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"> virtual bool NLNET::CCallbackNetBase::connected </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This function is implemented in the client and server class. +<p> + +<p> +Reimplemented in <a class="el" href="classNLNET_1_1CCallbackClient.html#a5">NLNET::CCallbackClient</a>. +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00131">131</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +References <a class="el" href="debug_8h-source.html#l00374">nlstop</a>. </td> + </tr> +</table> +<a name="a14" doxytag="NLNET::CCallbackNetBase::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"> virtual bool NLNET::CCallbackNetBase::dataAvailable </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This function is implemented in the client and server class. +<p> + +<p> +Reimplemented in <a class="el" href="classNLNET_1_1CCallbackClient.html#c1">NLNET::CCallbackClient</a>. +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00127">127</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +References <a class="el" href="debug_8h-source.html#l00374">nlstop</a>. +<p> +Referenced by <a class="el" href="callback__net__base_8cpp-source.html#l00328">baseUpdate</a>. </td> + </tr> +</table> +<a name="a17" doxytag="NLNET::CCallbackNetBase::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"> virtual void NLNET::CCallbackNetBase::disconnect </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="namespaceNLNET.html#a0">TSockId</a> </td> + <td class="mdname1" valign="top" nowrap> <em>hostid</em> = <a class="el" href="namespaceNLNET.html#a1">InvalidSockId</a> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This function is implemented in the client and server class. +<p> + +<p> +Reimplemented in <a class="el" href="classNLNET_1_1CCallbackClient.html#a7">NLNET::CCallbackClient</a>. +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00133">133</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +References <a class="el" href="debug_8h-source.html#l00374">nlstop</a>, and <a class="el" href="buf__net__base_8h-source.html#l00042">NLNET::TSockId</a>. +<p> +Referenced by <a class="el" href="callback__net__base_8cpp-source.html#l00223">processOneMessage</a>. </td> + </tr> +</table> +<a name="a21" doxytag="NLNET::CCallbackNetBase::displayAllMyAssociations"></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::CCallbackNetBase::displayAllMyAssociations </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8cpp-source.html#l00462">462</a> of file <a class="el" href="callback__net__base_8cpp-source.html">callback_net_base.cpp</a>. +<p> +References <a class="el" href="callback__net__base_8h-source.html#l00188">_OutputSIDA</a>, <a class="el" href="callback__net__base_8cpp-source.html#l00531">checkThreadId</a>, and <a class="el" href="string__id__array_8h-source.html#l00187">NLMISC::CStringIdArray::display</a>. </td> + </tr> +</table> +<a name="a6" doxytag="NLNET::CCallbackNetBase::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"> virtual bool NLNET::CCallbackNetBase::flush </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="namespaceNLNET.html#a0">TSockId</a> </td> + <td class="mdname1" valign="top" nowrap> <em>hostid</em> = <a class="el" href="namespaceNLNET.html#a1">InvalidSockId</a> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Force to send all data pending in the send queue. +<p> +On a client, the hostid isn't used and must be InvalidSockId On a server, you must provide a hostid. +<p> +Implemented in <a class="el" href="classNLNET_1_1CCallbackClient.html#a2">NLNET::CCallbackClient</a>. </td> + </tr> +</table> +<a name="a3" doxytag="NLNET::CCallbackNetBase::getBytesReceived"></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::CCallbackNetBase::getBytesReceived </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00088">88</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +References <a class="el" href="callback__net__base_8h-source.html#l00162">_BytesReceived</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NLNET::CCallbackNetBase::getBytesSent"></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::CCallbackNetBase::getBytesSent </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00087">87</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +References <a class="el" href="callback__net__base_8h-source.html#l00162">_BytesSent</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NLNET::CCallbackNetBase::getReceiveQueueSize"></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"> virtual <a class="el" href="memory__common_8h.html#a13">uint64</a> NLNET::CCallbackNetBase::getReceiveQueueSize </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="classNLNET_1_1CCallbackClient.html#a10">NLNET::CCallbackClient</a>. </td> + </tr> +</table> +<a name="a5" doxytag="NLNET::CCallbackNetBase::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"> virtual <a class="el" href="memory__common_8h.html#a13">uint64</a> NLNET::CCallbackNetBase::getSendQueueSize </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="classNLNET_1_1CCallbackClient.html#a11">NLNET::CCallbackClient</a>. </td> + </tr> +</table> +<a name="a13" doxytag="NLNET::CCallbackNetBase::getSIDA"></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_1CStringIdArray.html">NLMISC::CStringIdArray</a>& NLNET::CCallbackNetBase::getSIDA </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Use this function to get the String ID Array needed when you want to create a message. +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00124">124</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +References <a class="el" href="callback__net__base_8h-source.html#l00183">_InputSIDA</a>. +<p> +Referenced by <a class="el" href="callback__server_8cpp-source.html#l00091">NLNET::CCallbackServer::sendAllMyAssociations</a>, and <a class="el" href="callback__net__base_8cpp-source.html#l00449">setOtherSideAssociations</a>. </td> + </tr> +</table> +<a name="a10" doxytag="NLNET::CCallbackNetBase::getSockId"></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"> virtual <a class="el" href="namespaceNLNET.html#a0">TSockId</a> NLNET::CCallbackNetBase::getSockId </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="namespaceNLNET.html#a0">TSockId</a> </td> + <td class="mdname1" valign="top" nowrap> <em>hostid</em> = <a class="el" href="namespaceNLNET.html#a1">InvalidSockId</a> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +returns the sockid of a connection. On a server, this function returns the parameter. On a client, it returns the connection. +<p> + +<p> +Implemented in <a class="el" href="classNLNET_1_1CCallbackClient.html#a9">NLNET::CCallbackClient</a>. +<p> +Referenced by <a class="el" href="callback__net__base_8cpp-source.html#l00469">authorizeOnly</a>, and <a class="el" href="callback__net__base_8cpp-source.html#l00223">processOneMessage</a>. </td> + </tr> +</table> +<a name="a18" doxytag="NLNET::CCallbackNetBase::hostAddress"></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> & NLNET::CCallbackNetBase::hostAddress </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="namespaceNLNET.html#a0">TSockId</a> </td> + <td class="mdname1" valign="top" nowrap> <em>hostid</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the address of the specified host. +<p> + +<p> +Reimplemented in <a class="el" href="classNLNET_1_1CCallbackClient.html#a6">NLNET::CCallbackClient</a>. +<p> +Definition at line <a class="el" href="callback__net__base_8cpp-source.html#l00441">441</a> of file <a class="el" href="callback__net__base_8cpp-source.html">callback_net_base.cpp</a>. +<p> +References <a class="el" href="debug_8h-source.html#l00374">nlstop</a>, and <a class="el" href="buf__net__base_8h-source.html#l00042">NLNET::TSockId</a>. </td> + </tr> +</table> +<a name="a22" doxytag="NLNET::CCallbackNetBase::ignoreAllUnknownId"></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::CCallbackNetBase::ignoreAllUnknownId </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>b</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +If you ignore all unknown id, the net will not ask for other side to know new association. It's used in the naming service for example because the naming client will never answer. In this case, it will always send the message with the full string name (slower). +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00152">152</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +References <a class="el" href="callback__net__base_8h-source.html#l00183">_InputSIDA</a>, and <a class="el" href="string__id__array_8h-source.html#l00176">NLMISC::CStringIdArray::ignoreAllUnknownId</a>. </td> + </tr> +</table> +<a name="a12" doxytag="NLNET::CCallbackNetBase::isAServer"></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::CCallbackNetBase::isAServer </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns true if this is a <a class="el" href="classNLNET_1_1CCallbackServer.html">CCallbackServer</a>. +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00121">121</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +References <a class="el" href="callback__net__base_8h-source.html#l00196">_IsAServer</a>, and <a class="el" href="callback__net__base_8cpp-source.html#l00531">checkThreadId</a>. </td> + </tr> +</table> +<a name="b2" doxytag="NLNET::CCallbackNetBase::processOneMessage"></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::CCallbackNetBase::processOneMessage </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Read a message from the network and process it. +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8cpp-source.html#l00223">223</a> of file <a class="el" href="callback__net__base_8cpp-source.html">callback_net_base.cpp</a>. +<p> +References <a class="el" href="callback__net__base_8h-source.html#l00162">_BytesReceived</a>, <a class="el" href="callback__net__base_8h-source.html#l00191">_CallbackArray</a>, <a class="el" href="callback__net__base_8h-source.html#l00194">_DefaultCallback</a>, <a class="el" href="callback__net__base_8h-source.html#l00188">_OutputSIDA</a>, <a class="el" href="callback__net__base_8cpp-source.html#l00531">checkThreadId</a>, <a class="el" href="callback__net__base_8h-source.html#l00133">disconnect</a>, <a class="el" href="classNLNET_1_1CCallbackNetBase.html#a10">getSockId</a>, <a class="el" href="debug_8h-source.html#l00087">nldebug</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, <a class="el" href="classNLNET_1_1CCallbackNetBase.html#b3">receive</a>, <a class="el" href="callback__net__base_8h-source.html#l00055">NLNET::TMsgCallback</a>, <a class="el" href="buf__net__base_8h-source.html#l00042">NLNET::TSockId</a>, and <a class="el" href="string__id__array_8h-source.html#l00054">NLMISC::CStringIdArray::TStringId</a>. +<p> +Referenced by <a class="el" href="callback__net__base_8cpp-source.html#l00328">baseUpdate</a>. </td> + </tr> +</table> +<a name="b3" doxytag="NLNET::CCallbackNetBase::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"> virtual void NLNET::CCallbackNetBase::receive </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLNET_1_1CMessage.html">CMessage</a> & </td> + <td class="mdname" nowrap> <em>buffer</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="namespaceNLNET.html#a0">TSockId</a> * </td> + <td class="mdname" nowrap> <em>hostid</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [protected, pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +On this layer, you can't call directly receive, It s the <a class="el" href="classNLNET_1_1CCallbackNetBase.html#a15">update</a>() function that receive and call your callaback. +<p> + +<p> +Implemented in <a class="el" href="classNLNET_1_1CCallbackClient.html#c2">NLNET::CCallbackClient</a>. +<p> +Referenced by <a class="el" href="callback__net__base_8cpp-source.html#l00223">processOneMessage</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NLNET::CCallbackNetBase::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"> virtual void NLNET::CCallbackNetBase::send </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="classNLNET_1_1CMessage.html">CMessage</a> & </td> + <td class="mdname" nowrap> <em>buffer</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="namespaceNLNET.html#a0">TSockId</a> </td> + <td class="mdname" nowrap> <em>hostid</em> = <a class="el" href="namespaceNLNET.html#a1">InvalidSockId</a>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>log</em> = true</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Sends a message to special connection. +<p> +On a client, the hostid isn't used. On a server, you must provide a hostid. If you hostid = InvalidSockId, the message will be sent to all connected client. +<p> +Implemented in <a class="el" href="classNLNET_1_1CCallbackClient.html#a1">NLNET::CCallbackClient</a>. +<p> +Referenced by <a class="el" href="callback__net__base_8cpp-source.html#l00328">baseUpdate</a>. </td> + </tr> +</table> +<a name="a19" doxytag="NLNET::CCallbackNetBase::sendAllMyAssociations"></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::CCallbackNetBase::sendAllMyAssociations </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="namespaceNLNET.html#a0">TSockId</a> </td> + <td class="mdname1" valign="top" nowrap> <em>to</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Used by client and server class. +<p> + +<p> +Reimplemented in <a class="el" href="classNLNET_1_1CCallbackServer.html#c3">NLNET::CCallbackServer</a>. </td> + </tr> +</table> +<a name="a8" doxytag="NLNET::CCallbackNetBase::setDefaultCallback"></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::CCallbackNetBase::setDefaultCallback </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="namespaceNLNET.html#a9">TMsgCallback</a> </td> + <td class="mdname1" valign="top" nowrap> <em>defaultCallback</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Sets default callback for unknown message types. +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00105">105</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +References <a class="el" href="callback__net__base_8h-source.html#l00194">_DefaultCallback</a>, and <a class="el" href="callback__net__base_8h-source.html#l00055">NLNET::TMsgCallback</a>. </td> + </tr> +</table> +<a name="a9" doxytag="NLNET::CCallbackNetBase::setDisconnectionCallback"></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::CCallbackNetBase::setDisconnectionCallback </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="namespaceNLNET.html#a2">TNetCallback</a> </td> + <td class="mdname" nowrap> <em>cb</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>void * </td> + <td class="mdname" nowrap> <em>arg</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Sets callback for disconnections (or NULL to disable callback). +<p> + +<p> +Reimplemented in <a class="el" href="classNLNET_1_1CCallbackClient.html#a8">NLNET::CCallbackClient</a>. +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00108">108</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +References <a class="el" href="callback__net__base_8h-source.html#l00217">_DisconnectionCallback</a>, <a class="el" href="callback__net__base_8h-source.html#l00218">_DisconnectionCbArg</a>, <a class="el" href="callback__net__base_8cpp-source.html#l00531">checkThreadId</a>, and <a class="el" href="buf__net__base_8h-source.html#l00047">NLNET::TNetCallback</a>. </td> + </tr> +</table> +<a name="a20" doxytag="NLNET::CCallbackNetBase::setOtherSideAssociations"></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::CCallbackNetBase::setOtherSideAssociations </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char ** </td> + <td class="mdname" nowrap> <em>associationarray</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNLMISC_1_1CStringIdArray.html#s0">NLMISC::CStringIdArray::TStringId</a> </td> + <td class="mdname" nowrap> <em>arraysize</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Gives some association of the other side. +<p> +The goal is, in specific case, we don't want to ask associations to the other side (client is not secure for example). In this case, we can set other side associations by hand using this functions. +<p> +Definition at line <a class="el" href="callback__net__base_8cpp-source.html#l00449">449</a> of file <a class="el" href="callback__net__base_8cpp-source.html">callback_net_base.cpp</a>. +<p> +References <a class="el" href="string__id__array_8h-source.html#l00059">NLMISC::CStringIdArray::addString</a>, <a class="el" href="callback__net__base_8cpp-source.html#l00531">checkThreadId</a>, <a class="el" href="callback__net__base_8h-source.html#l00124">getSIDA</a>, <a class="el" href="debug_8h-source.html#l00087">nldebug</a>, and <a class="el" href="string__id__array_8h-source.html#l00054">NLMISC::CStringIdArray::TStringId</a>. </td> + </tr> +</table> +<a name="a15" doxytag="NLNET::CCallbackNetBase::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"> virtual void NLNET::CCallbackNetBase::update </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a10">sint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>timeout</em> = 0 </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This function is implemented in the client and server class. +<p> + +<p> +Reimplemented in <a class="el" href="classNLNET_1_1CCallbackClient.html#a3">NLNET::CCallbackClient</a>. +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00129">129</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +References <a class="el" href="debug_8h-source.html#l00374">nlstop</a>. </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a name="l0" doxytag="NLNET::CCallbackNetBase::cbnbMessageAskAssociations"></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 cbnbMessageAskAssociations </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLNET_1_1CMessage.html">CMessage</a> & </td> + <td class="mdname" nowrap> <em>msgin</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="namespaceNLNET.html#a0">TSockId</a> </td> + <td class="mdname" nowrap> <em>from</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>CCallbackNetBase & </td> + <td class="mdname" nowrap> <em>netbase</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [friend]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8cpp-source.html#l00088">88</a> of file <a class="el" href="callback__net__base_8cpp-source.html">callback_net_base.cpp</a>. </td> + </tr> +</table> +<a name="l1" doxytag="NLNET::CCallbackNetBase::cbnbMessageRecvAssociations"></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 cbnbMessageRecvAssociations </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLNET_1_1CMessage.html">CMessage</a> & </td> + <td class="mdname" nowrap> <em>msgin</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="namespaceNLNET.html#a0">TSockId</a> </td> + <td class="mdname" nowrap> <em>from</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>CCallbackNetBase & </td> + <td class="mdname" nowrap> <em>netbase</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [friend]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8cpp-source.html#l00055">55</a> of file <a class="el" href="callback__net__base_8cpp-source.html">callback_net_base.cpp</a>. </td> + </tr> +</table> +<a name="l2" doxytag="NLNET::CCallbackNetBase::cbnbNewDisconnection"></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 cbnbNewDisconnection </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="namespaceNLNET.html#a0">TSockId</a> </td> + <td class="mdname" nowrap> <em>from</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>void * </td> + <td class="mdname" nowrap> <em>data</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [friend]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8cpp-source.html#l00127">127</a> of file <a class="el" href="callback__net__base_8cpp-source.html">callback_net_base.cpp</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="n1" doxytag="NLNET::CCallbackNetBase::_BytesReceived"></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::CCallbackNetBase::_BytesReceived<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00162">162</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +Referenced by <a class="el" href="callback__net__base_8h-source.html#l00088">getBytesReceived</a>, and <a class="el" href="callback__net__base_8cpp-source.html#l00223">processOneMessage</a>. </td> + </tr> +</table> +<a name="n0" doxytag="NLNET::CCallbackNetBase::_BytesSent"></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::CCallbackNetBase::_BytesSent<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00162">162</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +Referenced by <a class="el" href="callback__net__base_8h-source.html#l00087">getBytesSent</a>, <a class="el" href="callback__server_8cpp-source.html#l00124">NLNET::CCallbackServer::send</a>, and <a class="el" href="callback__client_8cpp-source.html#l00079">NLNET::CCallbackClient::send</a>. </td> + </tr> +</table> +<a name="n5" doxytag="NLNET::CCallbackNetBase::_CallbackArray"></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"> std::vector<<a class="el" href="structNLNET_1_1TCallbackItem.html">TCallbackItem</a>> NLNET::CCallbackNetBase::_CallbackArray<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00191">191</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +Referenced by <a class="el" href="callback__net__base_8cpp-source.html#l00184">addCallbackArray</a>, and <a class="el" href="callback__net__base_8cpp-source.html#l00223">processOneMessage</a>. </td> + </tr> +</table> +<a name="n6" doxytag="NLNET::CCallbackNetBase::_DefaultCallback"></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#a9">TMsgCallback</a> NLNET::CCallbackNetBase::_DefaultCallback<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00194">194</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +Referenced by <a class="el" href="callback__client_8cpp-source.html#l00059">NLNET::CCallbackClient::CCallbackClient</a>, <a class="el" href="callback__net__base_8cpp-source.html#l00223">processOneMessage</a>, and <a class="el" href="callback__net__base_8h-source.html#l00105">setDefaultCallback</a>. </td> + </tr> +</table> +<a name="o2" doxytag="NLNET::CCallbackNetBase::_DisconnectionCallback"></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#a2">TNetCallback</a> NLNET::CCallbackNetBase::_DisconnectionCallback<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00217">217</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +Referenced by <a class="el" href="callback__net__base_8h-source.html#l00108">setDisconnectionCallback</a>. </td> + </tr> +</table> +<a name="o3" doxytag="NLNET::CCallbackNetBase::_DisconnectionCbArg"></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::CCallbackNetBase::_DisconnectionCbArg<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00218">218</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +Referenced by <a class="el" href="callback__net__base_8h-source.html#l00108">setDisconnectionCallback</a>. </td> + </tr> +</table> +<a name="n8" doxytag="NLNET::CCallbackNetBase::_FirstUpdate"></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::CCallbackNetBase::_FirstUpdate<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00197">197</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +Referenced by <a class="el" href="callback__net__base_8cpp-source.html#l00328">baseUpdate</a>. </td> + </tr> +</table> +<a name="n3" doxytag="NLNET::CCallbackNetBase::_InputSIDA"></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_1CStringIdArray.html">NLMISC::CStringIdArray</a> NLNET::CCallbackNetBase::_InputSIDA<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00183">183</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +Referenced by <a class="el" href="callback__net__base_8cpp-source.html#l00328">baseUpdate</a>, <a class="el" href="callback__client_8cpp-source.html#l00059">NLNET::CCallbackClient::CCallbackClient</a>, <a class="el" href="callback__net__base_8h-source.html#l00124">getSIDA</a>, and <a class="el" href="callback__net__base_8h-source.html#l00152">ignoreAllUnknownId</a>. </td> + </tr> +</table> +<a name="n7" doxytag="NLNET::CCallbackNetBase::_IsAServer"></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::CCallbackNetBase::_IsAServer<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00196">196</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +Referenced by <a class="el" href="callback__client_8cpp-source.html#l00059">NLNET::CCallbackClient::CCallbackClient</a>, and <a class="el" href="callback__net__base_8h-source.html#l00121">isAServer</a>. </td> + </tr> +</table> +<a name="o1" doxytag="NLNET::CCallbackNetBase::_LastMovedStringArray"></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="namespaceNLMISC.html#a183">NLMISC::TTime</a> NLNET::CCallbackNetBase::_LastMovedStringArray<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00215">215</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +Referenced by <a class="el" href="callback__net__base_8cpp-source.html#l00328">baseUpdate</a>. </td> + </tr> +</table> +<a name="o0" doxytag="NLNET::CCallbackNetBase::_LastUpdateTime"></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="namespaceNLMISC.html#a183">NLMISC::TTime</a> NLNET::CCallbackNetBase::_LastUpdateTime<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00214">214</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +Referenced by <a class="el" href="callback__net__base_8cpp-source.html#l00328">baseUpdate</a>. </td> + </tr> +</table> +<a name="n2" doxytag="NLNET::CCallbackNetBase::_NewDisconnectionCallback"></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#a2">TNetCallback</a> NLNET::CCallbackNetBase::_NewDisconnectionCallback<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Used by client and server class. +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00165">165</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +Referenced by <a class="el" href="callback__client_8cpp-source.html#l00059">NLNET::CCallbackClient::CCallbackClient</a>. </td> + </tr> +</table> +<a name="n4" doxytag="NLNET::CCallbackNetBase::_OutputSIDA"></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_1CStringIdArray.html">NLMISC::CStringIdArray</a> NLNET::CCallbackNetBase::_OutputSIDA<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00188">188</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. +<p> +Referenced by <a class="el" href="callback__net__base_8cpp-source.html#l00184">addCallbackArray</a>, <a class="el" href="callback__net__base_8cpp-source.html#l00462">displayAllMyAssociations</a>, <a class="el" href="callback__net__base_8cpp-source.html#l00223">processOneMessage</a>, and <a class="el" href="callback__server_8cpp-source.html#l00091">NLNET::CCallbackServer::sendAllMyAssociations</a>. </td> + </tr> +</table> +<a name="n9" doxytag="NLNET::CCallbackNetBase::_ThreadId"></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#a15">uint</a> NLNET::CCallbackNetBase::_ThreadId<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b> +<a class="el" href="todo.html#_todo000016">Todo: </a></b><dd> + ace: debug feature that we should remove one day nefore releasing the game</dl> +<p> +Definition at line <a class="el" href="callback__net__base_8h-source.html#l00227">227</a> of file <a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="callback__net__base_8h-source.html">callback_net_base.h</a><li><a class="el" href="callback__net__base_8cpp-source.html">callback_net_base.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </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> |