aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNLNET_1_1CNetManager.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/classNLNET_1_1CNetManager.html1204
1 files changed, 1204 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLNET_1_1CNetManager.html b/docs/doxygen/nel/classNLNET_1_1CNetManager.html
new file mode 100644
index 00000000..795b79ca
--- /dev/null
+++ b/docs/doxygen/nel/classNLNET_1_1CNetManager.html
@@ -0,0 +1,1204 @@
+<!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::CNetManager Class Reference</h1>Layer 4.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="net__manager_8h-source.html">net_manager.h</a>&gt;</code>
+<p>
+<a href="classNLNET_1_1CNetManager-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CNetManager.html#d0">init</a> (const <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> *<a class="el" href="driver__opengl__extension__def_8h.html#a414">addr</a>, <a class="el" href="classNLNET_1_1CCallbackNetBase.html#s3">CCallbackNetBase::TRecordingState</a> rec)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Creates the connection to the Naming Service.</em> <a href="#d0">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_1CNetManager.html#d1">release</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CNetManager.html#d2">addServer</a> (const std::string &amp;serviceName, <a class="el" href="memory__common_8h.html#a9">uint16</a> servicePort=0, bool external=false)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Sets up a server on a specific port with a specific service name (create a listen socket, register to naming service and so on) If servicePort is 0, it will be dynamically determinated by the Naming Service.</em> <a href="#d2">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_1CNetManager.html#d3">addServer</a> (const std::string &amp;serviceName, <a class="el" href="memory__common_8h.html#a9">uint16</a> servicePort, <a class="el" href="namespaceNLNET.html#a19">NLNET::TServiceId</a> &amp;sid, bool external=false)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CNetManager.html#d4">addClient</a> (const std::string &amp;serviceName, const std::string &amp;<a class="el" href="driver__opengl__extension__def_8h.html#a414">addr</a>, bool autoRetry=true)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Creates a connection to a specific IP and associate it this a "fake" serviceName (to enable you to send data for example).</em> <a href="#d4">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_1CNetManager.html#d5">addClient</a> (const std::string &amp;serviceName)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Creates a connection to a service using the naming service and the serviceName.</em> <a href="#d5">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_1CNetManager.html#d6">addGroup</a> (const std::string &amp;groupName, const std::string &amp;serviceName)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Creates connections to a group of service.</em> <a href="#d6">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_1CNetManager.html#d7">addCallbackArray</a> (const std::string &amp;serviceName, 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>&nbsp;</td><td><font size=-1><em>Adds a callback array to a specific service connection. You can add callback only *after* adding the server, the client or the group.</em> <a href="#d7">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_1CNetManager.html#d8">update</a> (<a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a> timeout=0)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Call it evenly.</em> <a href="#d8">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_1CNetManager.html#d9">send</a> (const std::string &amp;serviceName, const <a class="el" href="classNLNET_1_1CMessage.html">CMessage</a> &amp;<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>)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Sends a message to a specific serviceName.</em> <a href="#d9">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_1CNetManager.html#d10">setConnectionCallback</a> (const std::string &amp;serviceName, <a class="el" href="namespaceNLNET.html#a22">TNetManagerCallback</a> cb, void *arg)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Sets callback for incoming connections (or NULL to disable callback) On a client, the callback will be call when the connection to the server is established (the first connection or after the server shutdown and started) On a server, the callback is called each time a new client is connected to him.</em> <a href="#d10">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_1CNetManager.html#d11">setDisconnectionCallback</a> (const std::string &amp;serviceName, <a class="el" href="namespaceNLNET.html#a22">TNetManagerCallback</a> cb, void *arg)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Sets callback for disconnections (or NULL to disable callback) On a client, the callback will be call each time the connection to the server is lost On a server, the callback is called each time a client is disconnected.</em> <a href="#d11">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> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CNetManager.html#d12">getSIDA</a> (const std::string &amp;serviceName)</td></tr>
+<tr><td>&nbsp;</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="#d12">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLNET_1_1CCallbackNetBase.html">CCallbackNetBase</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CNetManager.html#d13">getNetBase</a> (const std::string &amp;serviceName)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Returns the connection if you want to do specific calls.</em> <a href="#d13">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_1CNetManager.html#d14">setUpdateTimeout</a> (<a class="el" href="memory__common_8h.html#a11">uint32</a> timeout)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CNetManager.html#d15">createConnection</a> (<a class="el" href="structNLNET_1_1CBaseStruct.html">CBaseStruct</a> &amp;Base, const <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> &amp;Addr, const std::string &amp;name)</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_1CNetManager.html#d16">getBytesSent</a> ()</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_1CNetManager.html#d17">getBytesReceived</a> ()</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_1CNetManager.html#d18">getReceiveQueueSize</a> ()</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_1CNetManager.html#d19">getSendQueueSize</a> ()</td></tr>
+<tr><td colspan=2><br><h2>Private Types</h2></td></tr>
+<tr><td nowrap align=right valign=top>typedef std::map&lt; std::string,<br>
+ <a class="el" href="structNLNET_1_1CBaseStruct.html">CBaseStruct</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CNetManager.html#u0">TBaseMap</a></td></tr>
+<tr><td nowrap align=right valign=top>typedef TBaseMap::iterator&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CNetManager.html#u1">ItBaseMap</a></td></tr>
+<tr><td colspan=2><br><h2>Private Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CNetManager.html#c0">CNetManager</a> ()</td></tr>
+<tr><td colspan=2><br><h2>Static Private Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLNET_1_1CNetManager.html#u1">ItBaseMap</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CNetManager.html#f0">find</a> (const std::string &amp;serviceName)</td></tr>
+<tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLNET_1_1CNetManager.html#u0">TBaseMap</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CNetManager.html#r0">_BaseMap</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLNET_1_1CCallbackNetBase.html#s3">CCallbackNetBase::TRecordingState</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CNetManager.html#r1">_RecordingState</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CNetManager.html#r2">_NextUpdateTime</a> = 0</td></tr>
+<tr><td colspan=2><br><h2>Friends</h2></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLNET_1_1CNetManager.html#l0">RegistrationBroadcast</a> (const std::string &amp;name, <a class="el" href="namespaceNLNET.html#a19">TServiceId</a> sid, const std::vector&lt; <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> &gt; &amp;<a class="el" href="driver__opengl__extension__def_8h.html#a414">addr</a>)</td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+Layer 4.
+<p>
+In case of <a class="el" href="classNLNET_1_1CNetManager.html#d6">addGroup</a>(), messages are *not* associate with id, so the message type is always sent with string.
+<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="net__manager_8h-source.html#l00099">99</a> of file <a class="el" href="net__manager_8h-source.html">net_manager.h</a>.<hr><h2>Member Typedef Documentation</h2>
+<a name="u1" doxytag="NLNET::CNetManager::ItBaseMap"></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"> typedef TBaseMap::iterator NLNET::CNetManager::ItBaseMap<code> [private]</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="net__manager_8h-source.html#l00171">171</a> of file <a class="el" href="net__manager_8h-source.html">net_manager.h</a>.
+<p>
+Referenced by <a class="el" href="net__manager_8cpp-source.html#l00346">addCallbackArray</a>, <a class="el" href="net__manager_8cpp-source.html#l00256">addClient</a>, <a class="el" href="net__manager_8cpp-source.html#l00307">addGroup</a>, <a class="el" href="net__manager_8cpp-source.html#l00207">addServer</a>, <a class="el" href="net__manager_8cpp-source.html#l00510">getBytesReceived</a>, <a class="el" href="net__manager_8cpp-source.html#l00497">getBytesSent</a>, <a class="el" href="net__manager_8cpp-source.html#l00466">getNetBase</a>, <a class="el" href="net__manager_8cpp-source.html#l00536">getReceiveQueueSize</a>, <a class="el" href="net__manager_8cpp-source.html#l00523">getSendQueueSize</a>, <a class="el" href="net__manager_8cpp-source.html#l00335">getSIDA</a>, <a class="el" href="net__manager_8cpp-source.html#l00185">release</a>, <a class="el" href="net__manager_8cpp-source.html#l00455">send</a>, <a class="el" href="net__manager_8cpp-source.html#l00472">setConnectionCallback</a>, <a class="el" href="net__manager_8cpp-source.html#l00480">setDisconnectionCallback</a>, and <a class="el" href="net__manager_8cpp-source.html#l00357">update</a>. </td>
+ </tr>
+</table>
+<a name="u0" doxytag="NLNET::CNetManager::TBaseMap"></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"> typedef std::map&lt;std::string, <a class="el" href="structNLNET_1_1CBaseStruct.html">CBaseStruct</a>&gt; NLNET::CNetManager::TBaseMap<code> [private]</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="net__manager_8h-source.html#l00170">170</a> of file <a class="el" href="net__manager_8h-source.html">net_manager.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="c0" doxytag="NLNET::CNetManager::CNetManager"></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::CNetManager::CNetManager </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, private]</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="net__manager_8h-source.html#l00188">188</a> of file <a class="el" href="net__manager_8h-source.html">net_manager.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="d7" doxytag="NLNET::CNetManager::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::CNetManager::addCallbackArray </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>serviceName</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="structNLNET_1_1TCallbackItem.html">TCallbackItem</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <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>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>arraysize</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Adds a callback array to a specific service connection. You can add callback only *after* adding the server, the client or the group.
+<p>
+
+<p>
+Definition at line <a class="el" href="net__manager_8cpp-source.html#l00346">346</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+References <a class="el" href="net__manager_8cpp-source.html#l00489">find</a>, <a class="el" href="net__manager_8h-source.html#l00171">ItBaseMap</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="d5" doxytag="NLNET::CNetManager::addClient"></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::CNetManager::addClient </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>serviceName</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Creates a connection to a service using the naming service and the serviceName.
+<p>
+
+<p>
+Definition at line <a class="el" href="net__manager_8cpp-source.html#l00280">280</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+References <a class="el" href="net__manager_8cpp-source.html#l00058">_RecordingState</a>, <a class="el" href="net__manager_8cpp-source.html#l00489">find</a>, <a class="el" href="net__manager_8h-source.html#l00171">ItBaseMap</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="net__manager_8cpp-source.html#l00074">NLNET::nmNewDisconnection</a>. </td>
+ </tr>
+</table>
+<a name="d4" doxytag="NLNET::CNetManager::addClient"></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::CNetManager::addClient </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>serviceName</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>addr</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>autoRetry</em> = true</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Creates a connection to a specific IP and associate it this a "fake" serviceName (to enable you to send data for example).
+<p>
+
+<p>
+Definition at line <a class="el" href="net__manager_8cpp-source.html#l00256">256</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+References <a class="el" href="driver__opengl__extension__def_8h-source.html#l00823">addr</a>, <a class="el" href="classNLNET_1_1CNetManager.html#d15">createConnection</a>, <a class="el" href="net__manager_8cpp-source.html#l00489">find</a>, <a class="el" href="net__manager_8h-source.html#l00171">ItBaseMap</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="debug_8h-source.html#l00087">nldebug</a>. </td>
+ </tr>
+</table>
+<a name="d6" doxytag="NLNET::CNetManager::addGroup"></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::CNetManager::addGroup </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>groupName</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>serviceName</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Creates connections to a group of service.
+<p>
+
+<p>
+Definition at line <a class="el" href="net__manager_8cpp-source.html#l00307">307</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+References <a class="el" href="classNLNET_1_1CNetManager.html#d15">createConnection</a>, <a class="el" href="net__manager_8cpp-source.html#l00489">find</a>, <a class="el" href="net__manager_8h-source.html#l00171">ItBaseMap</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="debug_8h-source.html#l00087">nldebug</a>. </td>
+ </tr>
+</table>
+<a name="d3" doxytag="NLNET::CNetManager::addServer"></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::CNetManager::addServer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>serviceName</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a9">uint16</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>servicePort</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="namespaceNLNET.html#a19">NLNET::TServiceId</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>sid</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>external</em> = false</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static]</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="net__manager_8cpp-source.html#l00207">207</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+References <a class="el" href="net__manager_8cpp-source.html#l00058">_RecordingState</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00823">addr</a>, <a class="el" href="net__manager_8cpp-source.html#l00489">find</a>, <a class="el" href="net__manager_8h-source.html#l00171">ItBaseMap</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="debug_8h-source.html#l00094">nlinfo</a>, <a class="el" href="net__manager_8cpp-source.html#l00062">NLNET::nmNewConnection</a>, <a class="el" href="net__manager_8cpp-source.html#l00074">NLNET::nmNewDisconnection</a>, and <a class="el" href="naming__client_8h-source.html#l00042">NLNET::TServiceId</a>. </td>
+ </tr>
+</table>
+<a name="d2" doxytag="NLNET::CNetManager::addServer"></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::CNetManager::addServer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>serviceName</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a9">uint16</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>servicePort</em> = 0, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>external</em> = false</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Sets up a server on a specific port with a specific service name (create a listen socket, register to naming service and so on) If servicePort is 0, it will be dynamically determinated by the Naming Service.
+<p>
+If sid id 0, the service id will be dynamically determinated by the Naming Service.
+<p>
+Definition at line <a class="el" href="net__manager_8cpp-source.html#l00201">201</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+References <a class="el" href="naming__client_8h-source.html#l00042">NLNET::TServiceId</a>. </td>
+ </tr>
+</table>
+<a name="d15" doxytag="NLNET::CNetManager::createConnection"></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::CNetManager::createConnection </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="structNLNET_1_1CBaseStruct.html">CBaseStruct</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>Base</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>Addr</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>name</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Referenced by <a class="el" href="net__manager_8cpp-source.html#l00256">addClient</a>, and <a class="el" href="net__manager_8cpp-source.html#l00307">addGroup</a>. </td>
+ </tr>
+</table>
+<a name="f0" doxytag="NLNET::CNetManager::find"></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_1CNetManager.html#u1">CNetManager::ItBaseMap</a> NLNET::CNetManager::find </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>serviceName</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [static, private]</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="net__manager_8cpp-source.html#l00489">489</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+References <a class="el" href="net__manager_8cpp-source.html#l00056">_BaseMap</a>.
+<p>
+Referenced by <a class="el" href="net__manager_8cpp-source.html#l00346">addCallbackArray</a>, <a class="el" href="net__manager_8cpp-source.html#l00256">addClient</a>, <a class="el" href="net__manager_8cpp-source.html#l00307">addGroup</a>, <a class="el" href="net__manager_8cpp-source.html#l00207">addServer</a>, <a class="el" href="net__manager_8cpp-source.html#l00466">getNetBase</a>, <a class="el" href="net__manager_8cpp-source.html#l00335">getSIDA</a>, <a class="el" href="net__manager_8cpp-source.html#l00455">send</a>, <a class="el" href="net__manager_8cpp-source.html#l00472">setConnectionCallback</a>, and <a class="el" href="net__manager_8cpp-source.html#l00480">setDisconnectionCallback</a>. </td>
+ </tr>
+</table>
+<a name="d17" doxytag="NLNET::CNetManager::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::CNetManager::getBytesReceived </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> [static]</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="net__manager_8cpp-source.html#l00510">510</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+References <a class="el" href="net__manager_8cpp-source.html#l00056">_BaseMap</a>, and <a class="el" href="net__manager_8h-source.html#l00171">ItBaseMap</a>. </td>
+ </tr>
+</table>
+<a name="d16" doxytag="NLNET::CNetManager::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::CNetManager::getBytesSent </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> [static]</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="net__manager_8cpp-source.html#l00497">497</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+References <a class="el" href="net__manager_8cpp-source.html#l00056">_BaseMap</a>, and <a class="el" href="net__manager_8h-source.html#l00171">ItBaseMap</a>. </td>
+ </tr>
+</table>
+<a name="d13" doxytag="NLNET::CNetManager::getNetBase"></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_1CCallbackNetBase.html">CCallbackNetBase</a> * NLNET::CNetManager::getNetBase </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>serviceName</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns the connection if you want to do specific calls.
+<p>
+
+<p>
+Definition at line <a class="el" href="net__manager_8cpp-source.html#l00466">466</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+References <a class="el" href="net__manager_8cpp-source.html#l00489">find</a>, and <a class="el" href="net__manager_8h-source.html#l00171">ItBaseMap</a>. </td>
+ </tr>
+</table>
+<a name="d18" doxytag="NLNET::CNetManager::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"> <a class="el" href="memory__common_8h.html#a13">uint64</a> NLNET::CNetManager::getReceiveQueueSize </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> [static]</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="net__manager_8cpp-source.html#l00536">536</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+References <a class="el" href="net__manager_8cpp-source.html#l00056">_BaseMap</a>, and <a class="el" href="net__manager_8h-source.html#l00171">ItBaseMap</a>. </td>
+ </tr>
+</table>
+<a name="d19" doxytag="NLNET::CNetManager::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#a13">uint64</a> NLNET::CNetManager::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><code> [static]</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="net__manager_8cpp-source.html#l00523">523</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+References <a class="el" href="net__manager_8cpp-source.html#l00056">_BaseMap</a>, and <a class="el" href="net__manager_8h-source.html#l00171">ItBaseMap</a>. </td>
+ </tr>
+</table>
+<a name="d12" doxytag="NLNET::CNetManager::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> &amp; NLNET::CNetManager::getSIDA </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>serviceName</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </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="net__manager_8cpp-source.html#l00335">335</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+References <a class="el" href="net__manager_8cpp-source.html#l00489">find</a>, <a class="el" href="net__manager_8h-source.html#l00171">ItBaseMap</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="debug_8h-source.html#l00087">nldebug</a>. </td>
+ </tr>
+</table>
+<a name="d0" doxytag="NLNET::CNetManager::init"></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::CNetManager::init </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> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>addr</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNLNET_1_1CCallbackNetBase.html#s3">CCallbackNetBase::TRecordingState</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>rec</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Creates the connection to the Naming Service.
+<p>
+If the connection failed, <a class="el" href="structNLNET_1_1ESocketConnectionFailed.html">ESocketConnectionFailed</a> exception is generated.
+<p>
+Definition at line <a class="el" href="net__manager_8cpp-source.html#l00169">169</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+References <a class="el" href="net__manager_8cpp-source.html#l00058">_RecordingState</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00823">addr</a>, <a class="el" href="classNLNET_1_1CNetManager.html#l0">RegistrationBroadcast</a>, and <a class="el" href="net__manager_8cpp-source.html#l00164">NLNET::UnregistrationBroadcast</a>. </td>
+ </tr>
+</table>
+<a name="d1" doxytag="NLNET::CNetManager::release"></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::CNetManager::release </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> [static]</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="net__manager_8cpp-source.html#l00185">185</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+References <a class="el" href="net__manager_8cpp-source.html#l00056">_BaseMap</a>, and <a class="el" href="net__manager_8h-source.html#l00171">ItBaseMap</a>. </td>
+ </tr>
+</table>
+<a name="d9" doxytag="NLNET::CNetManager::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::CNetManager::send </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>serviceName</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="classNLNET_1_1CMessage.html">CMessage</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>buffer</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="namespaceNLNET.html#a0">TSockId</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>hostid</em> = <a class="el" href="namespaceNLNET.html#a1">InvalidSockId</a></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Sends a message to a specific serviceName.
+<p>
+
+<p>
+Definition at line <a class="el" href="net__manager_8cpp-source.html#l00455">455</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+References <a class="el" href="net__manager_8cpp-source.html#l00489">find</a>, <a class="el" href="net__manager_8h-source.html#l00171">ItBaseMap</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="d10" doxytag="NLNET::CNetManager::setConnectionCallback"></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::CNetManager::setConnectionCallback </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>serviceName</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="namespaceNLNET.html#a22">TNetManagerCallback</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>cb</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>void *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>arg</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Sets callback for incoming connections (or NULL to disable callback) On a client, the callback will be call when the connection to the server is established (the first connection or after the server shutdown and started) On a server, the callback is called each time a new client is connected to him.
+<p>
+
+<p>
+Definition at line <a class="el" href="net__manager_8cpp-source.html#l00472">472</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+References <a class="el" href="net__manager_8cpp-source.html#l00489">find</a>, <a class="el" href="net__manager_8h-source.html#l00171">ItBaseMap</a>, <a class="el" href="debug_8h-source.html#l00087">nldebug</a>, and <a class="el" href="net__manager_8h-source.html#l00052">NLNET::TNetManagerCallback</a>. </td>
+ </tr>
+</table>
+<a name="d11" doxytag="NLNET::CNetManager::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::CNetManager::setDisconnectionCallback </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>serviceName</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="namespaceNLNET.html#a22">TNetManagerCallback</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>cb</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>void *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>arg</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Sets callback for disconnections (or NULL to disable callback) On a client, the callback will be call each time the connection to the server is lost On a server, the callback is called each time a client is disconnected.
+<p>
+
+<p>
+Definition at line <a class="el" href="net__manager_8cpp-source.html#l00480">480</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+References <a class="el" href="net__manager_8cpp-source.html#l00489">find</a>, <a class="el" href="net__manager_8h-source.html#l00171">ItBaseMap</a>, <a class="el" href="debug_8h-source.html#l00087">nldebug</a>, and <a class="el" href="net__manager_8h-source.html#l00052">NLNET::TNetManagerCallback</a>. </td>
+ </tr>
+</table>
+<a name="d14" doxytag="NLNET::CNetManager::setUpdateTimeout"></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::CNetManager::setUpdateTimeout </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>timeout</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+ </td>
+ </tr>
+</table>
+<a name="d8" doxytag="NLNET::CNetManager::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::CNetManager::update </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>timeout</em> = 0 </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Call it evenly.
+<p>
+the parameter select the timeout value in milliseconds for each update. You are absolutely certain that this function will not be returns before this amount of time you set. If you set the update timeout value higher than 0, all messages in queues will be process until the time is greater than the timeout user <a class="el" href="classNLNET_1_1CNetManager.html#d8">update</a>(). If you set the update timeout value to 0, all messages in queues will be process one time before calling the user <a class="el" href="classNLNET_1_1CNetManager.html#d8">update</a>(). In this case, we don't nlSleep(1).
+<p>
+Definition at line <a class="el" href="net__manager_8cpp-source.html#l00357">357</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+References <a class="el" href="net__manager_8cpp-source.html#l00056">_BaseMap</a>, <a class="el" href="net__manager_8cpp-source.html#l00060">_NextUpdateTime</a>, <a class="el" href="net__manager_8h-source.html#l00171">ItBaseMap</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="debug_8h-source.html#l00094">nlinfo</a>, <a class="el" href="common_8cpp-source.html#l00065">NLMISC::nlSleep</a>, and <a class="el" href="time__nl_8h-source.html#l00047">NLMISC::TTime</a>. </td>
+ </tr>
+</table>
+<hr><h2>Friends And Related Function Documentation</h2>
+<a name="l0" doxytag="NLNET::CNetManager::RegistrationBroadcast"></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 RegistrationBroadcast </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>name</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="namespaceNLNET.html#a19">TServiceId</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>sid</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const std::vector&lt; <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>addr</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [friend]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Referenced by <a class="el" href="net__manager_8cpp-source.html#l00169">init</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="r0" doxytag="NLNET::CNetManager::_BaseMap"></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_1CNetManager.html#u0">CNetManager::TBaseMap</a> NLNET::CNetManager::_BaseMap<code> [static, private]</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="net__manager_8cpp-source.html#l00056">56</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+Referenced by <a class="el" href="net__manager_8cpp-source.html#l00489">find</a>, <a class="el" href="net__manager_8cpp-source.html#l00510">getBytesReceived</a>, <a class="el" href="net__manager_8cpp-source.html#l00497">getBytesSent</a>, <a class="el" href="net__manager_8cpp-source.html#l00536">getReceiveQueueSize</a>, <a class="el" href="net__manager_8cpp-source.html#l00523">getSendQueueSize</a>, <a class="el" href="net__manager_8cpp-source.html#l00185">release</a>, and <a class="el" href="net__manager_8cpp-source.html#l00357">update</a>. </td>
+ </tr>
+</table>
+<a name="r2" doxytag="NLNET::CNetManager::_NextUpdateTime"></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"> TTime NLNET::CNetManager::_NextUpdateTime = 0<code> [static, private]</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="net__manager_8cpp-source.html#l00060">60</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+Referenced by <a class="el" href="net__manager_8cpp-source.html#l00357">update</a>. </td>
+ </tr>
+</table>
+<a name="r1" doxytag="NLNET::CNetManager::_RecordingState"></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_1CCallbackNetBase.html#s3">CCallbackNetBase::TRecordingState</a> NLNET::CNetManager::_RecordingState<code> [static, private]</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="net__manager_8cpp-source.html#l00058">58</a> of file <a class="el" href="net__manager_8cpp-source.html">net_manager.cpp</a>.
+<p>
+Referenced by <a class="el" href="net__manager_8cpp-source.html#l00280">addClient</a>, <a class="el" href="net__manager_8cpp-source.html#l00207">addServer</a>, and <a class="el" href="net__manager_8cpp-source.html#l00169">init</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="net__manager_8h-source.html">net_manager.h</a><li><a class="el" href="net__manager_8cpp-source.html">net_manager.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>