diff options
Diffstat (limited to 'docs/doxygen/nel/classNLNET_1_1CUnifiedNetwork.html')
-rw-r--r-- | docs/doxygen/nel/classNLNET_1_1CUnifiedNetwork.html | 2716 |
1 files changed, 2716 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLNET_1_1CUnifiedNetwork.html b/docs/doxygen/nel/classNLNET_1_1CUnifiedNetwork.html new file mode 100644 index 00000000..7d204e09 --- /dev/null +++ b/docs/doxygen/nel/classNLNET_1_1CUnifiedNetwork.html @@ -0,0 +1,2716 @@ +<!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::CUnifiedNetwork Class Reference</h1>Layer 5. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="unified__network_8h-source.html">unified_network.h</a>></code> +<p> +<a href="classNLNET_1_1CUnifiedNetwork-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#a0">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, const std::string &shortName, <a class="el" href="memory__common_8h.html#a9">uint16</a> port, <a class="el" href="namespaceNLNET.html#a19">TServiceId</a> &sid)</td></tr> +<tr><td> </td><td><font size=-1><em>Creates the connection to the Naming Service.</em> <a href="#a0">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_1CUnifiedNetwork.html#a1">connect</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Registers to the Naming Service, and connects to the present services.</em> <a href="#a1">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_1CUnifiedNetwork.html#a2">release</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Closes the connection to the naming service, every other connection and free.</em> <a href="#a2">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_1CUnifiedNetwork.html#a3">addService</a> (const std::string &name, const <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> &<a class="el" href="driver__opengl__extension__def_8h.html#a414">addr</a>, bool sendId=true, bool external=true, <a class="el" href="memory__common_8h.html#a9">uint16</a> sid=0, bool autoRetry=true, bool shouldBeAlreayInserted=false)</td></tr> +<tr><td> </td><td><font size=-1><em>Adds a specific service to the list of connected services.</em> <a href="#a3">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_1CUnifiedNetwork.html#a4">addService</a> (const std::string &name, const std::vector< <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> > &<a class="el" href="driver__opengl__extension__def_8h.html#a414">addr</a>, bool sendId=true, bool external=true, <a class="el" href="memory__common_8h.html#a9">uint16</a> sid=0, bool autoRetry=true, bool shouldBeAlreayInserted=false)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#a5">addCallbackArray</a> (const <a class="el" href="structNLNET_1_1TUnifiedCallbackItem.html">TUnifiedCallbackItem</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>Adds a callback array in the system.</em> <a href="#a5">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_1CUnifiedNetwork.html#a6">update</a> (<a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a> timeout=0)</td></tr> +<tr><td> </td><td><font size=-1><em>Call it evenly.</em> <a href="#a6">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_1CUnifiedNetwork.html#a7">send</a> (const std::string &serviceName, const <a class="el" href="classNLNET_1_1CMessage.html">CMessage</a> &msg, <a class="el" href="memory__common_8h.html#a7">uint8</a> nid=0xFF)</td></tr> +<tr><td> </td><td><font size=-1><em>Sends a message to a specific serviceName.</em> <a href="#a7">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_1CUnifiedNetwork.html#a8">send</a> (<a class="el" href="memory__common_8h.html#a9">uint16</a> serviceId, const <a class="el" href="classNLNET_1_1CMessage.html">CMessage</a> &msg, <a class="el" href="memory__common_8h.html#a7">uint8</a> nid=0xFF)</td></tr> +<tr><td> </td><td><font size=-1><em>Sends a message to a specific serviceId.</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_1CUnifiedNetwork.html#a9">send</a> (const <a class="el" href="classNLNET_1_1CMessage.html">CMessage</a> &msg, <a class="el" href="memory__common_8h.html#a7">uint8</a> nid=0xFF)</td></tr> +<tr><td> </td><td><font size=-1><em>Broadcasts a message to all connected services.</em> <a href="#a9">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_1CUnifiedNetwork.html#a10">setServiceUpCallback</a> (const std::string &serviceName, <a class="el" href="namespaceNLNET.html#a25">TUnifiedNetCallback</a> cb, void *arg=0, bool back=true)</td></tr> +<tr><td> </td><td><font size=-1><em>Sets callback for incoming connections.</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_1CUnifiedNetwork.html#a11">setServiceDownCallback</a> (const std::string &serviceName, <a class="el" href="namespaceNLNET.html#a25">TUnifiedNetCallback</a> cb, void *arg=0, bool back=true)</td></tr> +<tr><td> </td><td><font size=-1><em>Sets callback for disconnections.</em> <a href="#a11">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_1CUnifiedNetwork.html#a12">addNetworkAssociation</a> (const std::string &networkName, <a class="el" href="memory__common_8h.html#a7">uint8</a> nid)</td></tr> +<tr><td> </td><td><font size=-1><em>Associate a string with a network id If the send don't set a specific nid, it ll use the 0, so be sure that the nid 0 is set to a network.</em> <a href="#a12">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_1CUnifiedNetwork.html#a13">clearNetworkAssociation</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Clear all network association.</em> <a href="#a13">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_1CUnifiedNetwork.html#a14">addDefaultNetwork</a> (const std::string &defnet)</td></tr> +<tr><td> </td><td><font size=-1><em>This array says to wich network we need to send the message for the default nid.</em> <a href="#a14">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_1CUnifiedNetwork.html#a15">clearDefaultNetwork</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Clear all default network.</em> <a href="#a15">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_1CUnifiedNetwork.html#a16">isServiceLocal</a> (<a class="el" href="memory__common_8h.html#a9">uint16</a> sid)</td></tr> +<tr><td> </td><td><font size=-1><em>Returns true if the sid service is on the same computer than this service.</em> <a href="#a16">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_1CUnifiedNetwork.html#a17">isServiceLocal</a> (const std::string &serviceName)</td></tr> +<tr><td> </td><td><font size=-1><em>Returns true if the serviceName service is on the same computer than this service.</em> <a href="#a17">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> * </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#a18">getNetBase</a> (const std::string &name, <a class="el" href="namespaceNLNET.html#a0">TSockId</a> &host, <a class="el" href="memory__common_8h.html#a7">uint8</a> nid=0xFF)</td></tr> +<tr><td> </td><td><font size=-1><em><dl compact><dt><b> +Warning: </b><dd> +You should not use getNetBase functions because it could have more than one connection to a service and in this case it ll return the first connection Gets the <a class="el" href="classNLNET_1_1CCallbackNetBase.html">CCallbackNetBase</a> of the service.</dl></em> <a href="#a18">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> * </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#a19">getNetBase</a> (<a class="el" href="memory__common_8h.html#a9">uint16</a> sid, <a class="el" href="namespaceNLNET.html#a0">TSockId</a> &host, <a class="el" href="memory__common_8h.html#a7">uint8</a> nid=0xFF)</td></tr> +<tr><td> </td><td><font size=-1><em>Gets the <a class="el" href="classNLNET_1_1CCallbackNetBase.html">CCallbackNetBase</a> of the service.</em> <a href="#a19">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_1CUnifiedNetwork.html#a20">getBytesSent</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Gets the total number of bytes sent.</em> <a href="#a20">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_1CUnifiedNetwork.html#a21">getBytesReceived</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Gets the total number of bytes received.</em> <a href="#a21">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_1CUnifiedNetwork.html#a22">getSendQueueSize</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Gets the total number of bytes queued for sending.</em> <a href="#a22">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_1CUnifiedNetwork.html#a23">getReceiveQueueSize</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Gets the total number of bytes queued after receiving.</em> <a href="#a23">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLNET.html#a26">TUnifiedMsgCallback</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#a24">findCallback</a> (const std::string &callbackName)</td></tr> +<tr><td> </td><td><font size=-1><em>Find a callback in the array.</em> <a href="#a24">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_1CUnifiedNetwork.html#a25">displayInternalTables</a> (<a class="el" href="classNLMISC_1_1CLog.html">NLMISC::CLog</a> *log=<a class="el" href="namespaceNLMISC.html#a10">NLMISC::InfoLog</a>)</td></tr> +<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>CUnifiedNetwork * </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#d0">getInstance</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Returns the singleton instance of the <a class="el" href="classNLNET_1_1CUnifiedNetwork.html">CUnifiedNetwork</a> class.</em> <a href="#d0">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_1CUnifiedNetwork.html#d1">isUsed</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Returns true if the application called <a class="el" href="classNLNET_1_1CUnifiedNetwork.html#d0">getInstance</a>().</em> <a href="#d1">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Types</h2></td></tr> +<tr><td nowrap align=right valign=top>typedef std::map< std::string,<br> + <a class="el" href="namespaceNLNET.html#a26">TUnifiedMsgCallback</a> > </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#u0">TMsgMappedCallback</a></td></tr> +<tr><td> </td><td><font size=-1><em>A map of callbacks, refered by message name.</em> <a href="#u0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>typedef std::pair< <a class="el" href="namespaceNLNET.html#a25">TUnifiedNetCallback</a>,<br> + void * > </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#u1">TCallbackArgItem</a></td></tr> +<tr><td> </td><td><font size=-1><em>A callback and its user data.</em> <a href="#u1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>typedef std::hash_multimap<<br> + std::string, <a class="el" href="classNLNET_1_1CUnifiedNetwork.html#u1">TCallbackArgItem</a> > </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#u2">TNameMappedCallback</a></td></tr> +<tr><td> </td><td><font size=-1><em>A map of service up/down callbacks with their user data.</em> <a href="#u2">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#c0">CUnifiedNetwork</a> ()</td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#c1">~CUnifiedNetwork</a> ()</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#c2">autoCheck</a> ()</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLNET_1_1CUnifiedNetwork_1_1CUnifiedConnection.html">CUnifiedConnection</a> * </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#c3">getUnifiedConnection</a> (<a class="el" href="memory__common_8h.html#a9">uint16</a> sid)</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#c4">haveNamedCnx</a> (const std::string &name, <a class="el" href="memory__common_8h.html#a9">uint16</a> sid)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#c5">addNamedCnx</a> (const std::string &name, <a class="el" href="memory__common_8h.html#a9">uint16</a> sid)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#c6">removeNamedCnx</a> (const std::string &name, <a class="el" href="memory__common_8h.html#a9">uint16</a> sid)</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a7">uint8</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#c7">findConnectionId</a> (<a class="el" href="memory__common_8h.html#a9">uint16</a> sid, <a class="el" href="memory__common_8h.html#a7">uint8</a> nid)</td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="classNLNET_1_1CUnifiedNetwork_1_1CUnifiedConnection.html">CUnifiedConnection</a> > </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#o0">_IdCnx</a></td></tr> +<tr><td> </td><td><font size=-1><em>Vector of connections by service id (sid is the entry in this array, it means that there s some hole).</em> <a href="#o0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="memory__common_8h.html#a9">uint16</a> > </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#o1">_UsedConnection</a></td></tr> +<tr><td> </td><td><font size=-1><em>This vector contains only an index to the unified connection. It is used to have quick access on the available connections.</em> <a href="#o1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="structNLNET_1_1CUnifiedNetwork_1_1TNameMappedConnection.html">TNameMappedConnection</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#o2">_NamedCnx</a></td></tr> +<tr><td> </td><td><font size=-1><em>Map of connections by service name.</em> <a href="#o2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLNET_1_1CCallbackServer.html">CCallbackServer</a> * </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#o3">_CbServer</a></td></tr> +<tr><td> </td><td><font size=-1><em>The callback server.</em> <a href="#o3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a9">uint16</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#o4">_ServerPort</a></td></tr> +<tr><td> </td><td><font size=-1><em>The server port.</em> <a href="#o4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#u2">TNameMappedCallback</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#o5">_UpCallbacks</a></td></tr> +<tr><td> </td><td><font size=-1><em>Map of the up/down service callbacks.</em> <a href="#o5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="classNLNET_1_1CUnifiedNetwork.html#u1">TCallbackArgItem</a> > </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#o6">_UpUniCallback</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#u2">TNameMappedCallback</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#o7">_DownCallbacks</a></td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="classNLNET_1_1CUnifiedNetwork.html#u1">TCallbackArgItem</a> > </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#o8">_DownUniCallback</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLNET_1_1CCallbackNetBase.html#s3">CCallbackNetBase::TRecordingState</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#o9">_RecordingState</a></td></tr> +<tr><td> </td><td><font size=-1><em>Recording state.</em> <a href="#o9">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespaceNLNET.html#a19">TServiceId</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#o10">_SId</a></td></tr> +<tr><td> </td><td><font size=-1><em>Service id of the running service.</em> <a href="#o10">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>std::string </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#o11">_Name</a></td></tr> +<tr><td> </td><td><font size=-1><em>Service name.</em> <a href="#o11">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#u0">TMsgMappedCallback</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#o12">_Callbacks</a></td></tr> +<tr><td> </td><td><font size=-1><em>Map of callbacks.</em> <a href="#o12">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a9">uint16</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#o13">_ExtSId</a></td></tr> +<tr><td> </td><td><font size=-1><em>Used for external service.</em> <a href="#o13">More...</a><em></em></font><br><br></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_1CUnifiedNetwork.html#o14">_LastRetry</a></td></tr> +<tr><td> </td><td><font size=-1><em>Last time of retry.</em> <a href="#o14">More...</a><em></em></font><br><br></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_1CUnifiedNetwork.html#o15">_NextUpdateTime</a></td></tr> +<tr><td> </td><td><font size=-1><em>Time of the theorical next update.</em> <a href="#o15">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLNET_1_1CInetAddress.html">NLNET::CInetAddress</a> </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#o16">_NamingServiceAddr</a></td></tr> +<tr><td> </td><td><font size=-1><em>Naming service.</em> <a href="#o16">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_1CUnifiedNetwork.html#o17">_Initialised</a></td></tr> +<tr><td> </td><td><font size=-1><em>true if initialisation function called.</em> <a href="#o17">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="memory__common_8h.html#a11">uint32</a> > </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#o18">_NetworkAssociations</a></td></tr> +<tr><td> </td><td><font size=-1><em>for each nid, which network address.</em> <a href="#o18">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>std::vector< std::string > </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#o19">_DefaultNetwork</a></td></tr> +<tr><td> </td><td><font size=-1><em>for each services, which network to take.</em> <a href="#o19">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>CUnifiedNetwork * </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#r0">_Instance</a> = NULL</td></tr> +<tr><td> </td><td><font size=-1><em>The main instance.</em> <a href="#r0">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td nowrap align=right valign=top>struct </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#l0">isServiceLocalClass</a></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#l1">uncbConnection</a> (<a class="el" href="namespaceNLNET.html#a0">TSockId</a> <a class="el" href="cf__gramatical_8cpp.html#a69">from</a>, void *arg)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#l2">uncbDisconnection</a> (<a class="el" href="namespaceNLNET.html#a0">TSockId</a> <a class="el" href="cf__gramatical_8cpp.html#a69">from</a>, void *arg)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#l3">uncbServiceIdentification</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>, <a class="el" href="classNLNET_1_1CCallbackNetBase.html">CCallbackNetBase</a> &netbase)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#l4">uncbMsgProcessing</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>, <a class="el" href="classNLNET_1_1CCallbackNetBase.html">CCallbackNetBase</a> &netbase)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#l5">uNetRegistrationBroadcast</a> (const std::string &name, <a class="el" href="namespaceNLNET.html#a19">TServiceId</a> sid, const std::vector< <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> > &<a class="el" href="driver__opengl__extension__def_8h.html#a414">addr</a>)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLNET_1_1CUnifiedNetwork.html#l6">uNetUnregistrationBroadcast</a> (const std::string &name, <a class="el" href="namespaceNLNET.html#a19">TServiceId</a> sid, const std::vector< <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> > &<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 5. +<p> +<dl compact><dt><b> +Author: </b><dd> +Vianney Lecroart, Benjamin Legros , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2002 </dl> +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00071">71</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>.<hr><h2>Member Typedef Documentation</h2> +<a name="u1" doxytag="NLNET::CUnifiedNetwork::TCallbackArgItem"></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::pair<<a class="el" href="namespaceNLNET.html#a25">TUnifiedNetCallback</a>, void *> NLNET::CUnifiedNetwork::TCallbackArgItem<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +A callback and its user data. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00232">232</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. </td> + </tr> +</table> +<a name="u0" doxytag="NLNET::CUnifiedNetwork::TMsgMappedCallback"></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<std::string, <a class="el" href="namespaceNLNET.html#a26">TUnifiedMsgCallback</a>> NLNET::CUnifiedNetwork::TMsgMappedCallback<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +A map of callbacks, refered by message name. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00229">229</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. </td> + </tr> +</table> +<a name="u2" doxytag="NLNET::CUnifiedNetwork::TNameMappedCallback"></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::hash_multimap<std::string, <a class="el" href="classNLNET_1_1CUnifiedNetwork.html#u1">TCallbackArgItem</a>> NLNET::CUnifiedNetwork::TNameMappedCallback<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +A map of service up/down callbacks with their user data. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00235">235</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a name="c0" doxytag="NLNET::CUnifiedNetwork::CUnifiedNetwork"></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::CUnifiedNetwork::CUnifiedNetwork </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, private]</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="unified__network_8h-source.html#l00461">461</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00413">_CbServer</a>, <a class="el" href="unified__network_8h-source.html#l00437">_ExtSId</a>, <a class="el" href="unified__network_8h-source.html#l00452">_Initialised</a>, <a class="el" href="unified__network_8h-source.html#l00440">_LastRetry</a>, and <a class="el" href="unified__network_8h-source.html#l00443">_NextUpdateTime</a>. +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l01397">getInstance</a>. </td> + </tr> +</table> +<a name="c1" doxytag="NLNET::CUnifiedNetwork::~CUnifiedNetwork"></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::CUnifiedNetwork::~CUnifiedNetwork </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, private]</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="unified__network_8h-source.html#l00465">465</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a5" doxytag="NLNET::CUnifiedNetwork::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::CUnifiedNetwork::addCallbackArray </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="structNLNET_1_1TUnifiedCallbackItem.html">TUnifiedCallbackItem</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> +Adds a callback array in the system. +<p> +You can add callback only *after* adding the server, the client or the group. +<p> +Definition at line <a class="el" href="unified__network_8cpp-source.html#l01117">1117</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00434">_Callbacks</a>. </td> + </tr> +</table> +<a name="a14" doxytag="NLNET::CUnifiedNetwork::addDefaultNetwork"></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::CUnifiedNetwork::addDefaultNetwork </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>defnet</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> +This array says to wich network we need to send the message for the default nid. +<p> +For example you can says that message for AES will use the network 0 and message for LS will use the network 1. To do that, just call the function with string "AES0" and "LS1" the number is the nid (look at <a class="el" href="classNLNET_1_1CUnifiedNetwork.html#a12">addNetworkAssociation</a>()) addNetworkAssociation("192.168.0.0", 0); addNetworkAssociation("192.168.1.0", 1); In this case if you send a message to AES with default nid, it'll be send to 192.168.0.x In this case if you send a message to LS with default nid, it'll be send to 192.168.1.y +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00185">185</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00458">_DefaultNetwork</a>, and <a class="el" href="debug_8h-source.html#l00094">nlinfo</a>. </td> + </tr> +</table> +<a name="c5" doxytag="NLNET::CUnifiedNetwork::addNamedCnx"></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::CUnifiedNetwork::addNamedCnx </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a9">uint16</a> </td> + <td class="mdname" nowrap> <em>sid</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [private]</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="unified__network_8cpp-source.html#l01612">1612</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00410">_NamedCnx</a>, <a class="el" href="unified__network_8cpp-source.html#l00047">NLNET::allstuffs</a>, <a class="el" href="unified__network_8cpp-source.html#l00043">AUTOCHECK_DISPLAY</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00822">range</a>, and <a class="el" href="namespaceNLNET.html#a141">NLNET::test</a>. +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l00804">update</a>. </td> + </tr> +</table> +<a name="a12" doxytag="NLNET::CUnifiedNetwork::addNetworkAssociation"></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::CUnifiedNetwork::addNetworkAssociation </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>networkName</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>nid</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> +Associate a string with a network id If the send don't set a specific nid, it ll use the 0, so be sure that the nid 0 is set to a network. +<p> +You must call this function before the <a class="el" href="classNLNET_1_1CUnifiedNetwork.html#a1">connect</a>() function. <dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>networkName</em> </td><td> +must be in a xxx.xxx.xxx.xxx format. The low value will be ignore depending of the network class. </td></tr> +<tr><td valign=top><em>nid</em> </td><td> +a number (used as an index in a vector for constant access so numbers should be contiguous) that will be use to send to this network. </td></tr> +</table> +</dl> </td> + </tr> +</table> +<a name="a4" doxytag="NLNET::CUnifiedNetwork::addService"></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::CUnifiedNetwork::addService </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const std::vector< <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> > & </td> + <td class="mdname" nowrap> <em>addr</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>sendId</em> = true, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>external</em> = true, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a9">uint16</a> </td> + <td class="mdname" nowrap> <em>sid</em> = 0, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>autoRetry</em> = true, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>shouldBeAlreayInserted</em> = false</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> + </td> + </tr> +</table> +<a name="a3" doxytag="NLNET::CUnifiedNetwork::addService"></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::CUnifiedNetwork::addService </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> & </td> + <td class="mdname" nowrap> <em>addr</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>sendId</em> = true, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>external</em> = true, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a9">uint16</a> </td> + <td class="mdname" nowrap> <em>sid</em> = 0, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>autoRetry</em> = true, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>shouldBeAlreayInserted</em> = false</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> +Adds a specific service to the list of connected services. +<p> + +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l00519">connect</a>. </td> + </tr> +</table> +<a name="c2" doxytag="NLNET::CUnifiedNetwork::autoCheck"></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::CUnifiedNetwork::autoCheck </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> [private]</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="unified__network_8cpp-source.html#l01432">1432</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00404">_IdCnx</a>, <a class="el" href="unified__network_8h-source.html#l00410">_NamedCnx</a>, <a class="el" href="unified__network_8h-source.html#l00455">_NetworkAssociations</a>, <a class="el" href="unified__network_8h-source.html#l00407">_UsedConnection</a>, and <a class="el" href="unified__network_8cpp-source.html#l00043">AUTOCHECK_DISPLAY</a>. +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l00804">update</a>. </td> + </tr> +</table> +<a name="a15" doxytag="NLNET::CUnifiedNetwork::clearDefaultNetwork"></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::CUnifiedNetwork::clearDefaultNetwork </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> +Clear all default network. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00188">188</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00458">_DefaultNetwork</a>. </td> + </tr> +</table> +<a name="a13" doxytag="NLNET::CUnifiedNetwork::clearNetworkAssociation"></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::CUnifiedNetwork::clearNetworkAssociation </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> +Clear all network association. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00176">176</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00455">_NetworkAssociations</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NLNET::CUnifiedNetwork::connect"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLNET::CUnifiedNetwork::connect </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> +Registers to the Naming Service, and connects to the present services. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8cpp-source.html#l00519">519</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00452">_Initialised</a>, <a class="el" href="unified__network_8h-source.html#l00428">_SId</a>, <a class="el" href="classNLNET_1_1CUnifiedNetwork.html#a3">addService</a>, <a class="el" href="common_8cpp-source.html#l00085">NLMISC::getThreadId</a>, <a class="el" href="debug_8h-source.html#l00293">nlassertex</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, and <a class="el" href="unified__network_8cpp-source.html#l00039">NLNET::ThreadCreator</a>. </td> + </tr> +</table> +<a name="a25" doxytag="NLNET::CUnifiedNetwork::displayInternalTables"></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::CUnifiedNetwork::displayInternalTables </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CLog.html">NLMISC::CLog</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>log</em> = <a class="el" href="namespaceNLMISC.html#a10">NLMISC::InfoLog</a> </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="unified__network_8cpp-source.html#l01513">1513</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00404">_IdCnx</a>, <a class="el" href="unified__network_8h-source.html#l00410">_NamedCnx</a>, <a class="el" href="unified__network_8h-source.html#l00455">_NetworkAssociations</a>, <a class="el" href="unified__network_8h-source.html#l00407">_UsedConnection</a>, <a class="el" href="log_8cpp-source.html#l00315">NLMISC::CLog::displayNL</a>, and <a class="el" href="inet__address_8cpp-source.html#l00520">NLNET::internalIPAddressToString</a>. </td> + </tr> +</table> +<a name="a24" doxytag="NLNET::CUnifiedNetwork::findCallback"></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#a26">TUnifiedMsgCallback</a> NLNET::CUnifiedNetwork::findCallback </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>callbackName</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> +Find a callback in the array. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8cpp-source.html#l01336">1336</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00434">_Callbacks</a>, and <a class="el" href="unified__network_8h-source.html#l00052">NLNET::TUnifiedMsgCallback</a>. </td> + </tr> +</table> +<a name="c7" doxytag="NLNET::CUnifiedNetwork::findConnectionId"></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#a7">uint8</a> NLNET::CUnifiedNetwork::findConnectionId </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a9">uint16</a> </td> + <td class="mdname" nowrap> <em>sid</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>nid</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [private]</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="unified__network_8cpp-source.html#l00959">959</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00404">_IdCnx</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l01278">getNetBase</a>, and <a class="el" href="unified__network_8cpp-source.html#l01065">send</a>. </td> + </tr> +</table> +<a name="a21" doxytag="NLNET::CUnifiedNetwork::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::CUnifiedNetwork::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></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Gets the total number of bytes received. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8cpp-source.html#l01206">1206</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00413">_CbServer</a>, <a class="el" href="unified__network_8h-source.html#l00404">_IdCnx</a>, and <a class="el" href="unified__network_8h-source.html#l00407">_UsedConnection</a>. </td> + </tr> +</table> +<a name="a20" doxytag="NLNET::CUnifiedNetwork::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::CUnifiedNetwork::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></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Gets the total number of bytes sent. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8cpp-source.html#l01182">1182</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00413">_CbServer</a>, <a class="el" href="unified__network_8h-source.html#l00404">_IdCnx</a>, and <a class="el" href="unified__network_8h-source.html#l00407">_UsedConnection</a>. </td> + </tr> +</table> +<a name="d0" doxytag="NLNET::CUnifiedNetwork::getInstance"></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"> CUnifiedNetwork * NLNET::CUnifiedNetwork::getInstance </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> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the singleton instance of the <a class="el" href="classNLNET_1_1CUnifiedNetwork.html">CUnifiedNetwork</a> class. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8cpp-source.html#l01397">1397</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8cpp-source.html#l01395">_Instance</a>, and <a class="el" href="unified__network_8h-source.html#l00461">CUnifiedNetwork</a>. +<p> +Referenced by <a class="el" href="service_8cpp-source.html#l00473">NLNET::IService::main</a>. </td> + </tr> +</table> +<a name="a19" doxytag="NLNET::CUnifiedNetwork::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::CUnifiedNetwork::getNetBase </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a9">uint16</a> </td> + <td class="mdname" nowrap> <em>sid</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>host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>nid</em> = 0xFF</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> +Gets the <a class="el" href="classNLNET_1_1CCallbackNetBase.html">CCallbackNetBase</a> of the service. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8cpp-source.html#l01311">1311</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00404">_IdCnx</a>, <a class="el" href="unified__network_8h-source.html#l00452">_Initialised</a>, <a class="el" href="unified__network_8cpp-source.html#l00959">findConnectionId</a>, <a class="el" href="common_8cpp-source.html#l00085">NLMISC::getThreadId</a>, <a class="el" href="debug_8h-source.html#l00293">nlassertex</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, <a class="el" href="unified__network_8cpp-source.html#l00039">NLNET::ThreadCreator</a>, and <a class="el" href="buf__net__base_8h-source.html#l00042">NLNET::TSockId</a>. </td> + </tr> +</table> +<a name="a18" doxytag="NLNET::CUnifiedNetwork::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::CUnifiedNetwork::getNetBase </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>name</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>host</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>nid</em> = 0xFF</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> +<dl compact><dt><b> +Warning: </b><dd> +You should not use getNetBase functions because it could have more than one connection to a service and in this case it ll return the first connection Gets the <a class="el" href="classNLNET_1_1CCallbackNetBase.html">CCallbackNetBase</a> of the service.</dl> +<p> + +<p> +Definition at line <a class="el" href="unified__network_8cpp-source.html#l01278">1278</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00404">_IdCnx</a>, <a class="el" href="unified__network_8h-source.html#l00452">_Initialised</a>, <a class="el" href="unified__network_8h-source.html#l00410">_NamedCnx</a>, <a class="el" href="unified__network_8cpp-source.html#l00959">findConnectionId</a>, <a class="el" href="common_8cpp-source.html#l00085">NLMISC::getThreadId</a>, <a class="el" href="debug_8h-source.html#l00293">nlassertex</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, <a class="el" href="unified__network_8cpp-source.html#l00039">NLNET::ThreadCreator</a>, and <a class="el" href="buf__net__base_8h-source.html#l00042">NLNET::TSockId</a>. </td> + </tr> +</table> +<a name="a23" doxytag="NLNET::CUnifiedNetwork::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::CUnifiedNetwork::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></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Gets the total number of bytes queued after receiving. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8cpp-source.html#l01254">1254</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00413">_CbServer</a>, <a class="el" href="unified__network_8h-source.html#l00404">_IdCnx</a>, and <a class="el" href="unified__network_8h-source.html#l00407">_UsedConnection</a>. </td> + </tr> +</table> +<a name="a22" doxytag="NLNET::CUnifiedNetwork::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::CUnifiedNetwork::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></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Gets the total number of bytes queued for sending. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8cpp-source.html#l01230">1230</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00413">_CbServer</a>, <a class="el" href="unified__network_8h-source.html#l00404">_IdCnx</a>, and <a class="el" href="unified__network_8h-source.html#l00407">_UsedConnection</a>. </td> + </tr> +</table> +<a name="c3" doxytag="NLNET::CUnifiedNetwork::getUnifiedConnection"></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_1CUnifiedNetwork_1_1CUnifiedConnection.html">CUnifiedNetwork::CUnifiedConnection</a> * NLNET::CUnifiedNetwork::getUnifiedConnection </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a9">uint16</a> </td> + <td class="mdname1" valign="top" nowrap> <em>sid</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [private]</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="unified__network_8cpp-source.html#l01414">1414</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00404">_IdCnx</a>, <a class="el" href="unified__network_8cpp-source.html#l00043">AUTOCHECK_DISPLAY</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td> + </tr> +</table> +<a name="c4" doxytag="NLNET::CUnifiedNetwork::haveNamedCnx"></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::CUnifiedNetwork::haveNamedCnx </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a9">uint16</a> </td> + <td class="mdname" nowrap> <em>sid</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [private]</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="unified__network_8cpp-source.html#l01596">1596</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00410">_NamedCnx</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00822">range</a>. +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l00804">update</a>. </td> + </tr> +</table> +<a name="a0" doxytag="NLNET::CUnifiedNetwork::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::CUnifiedNetwork::init </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> * </td> + <td class="mdname" nowrap> <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> </td> + <td class="mdname" nowrap> <em>rec</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const std::string & </td> + <td class="mdname" nowrap> <em>shortName</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a9">uint16</a> </td> + <td class="mdname" nowrap> <em>port</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="namespaceNLNET.html#a19">TServiceId</a> & </td> + <td class="mdname" nowrap> <em>sid</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> +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. This function is called automatically called by the service class at the beginning.<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>addr</em> </td><td> +address of the naming service (0 is you don't want to use the naming service) </td></tr> +<tr><td valign=top><em>rec</em> </td><td> +recorging state to know if we have to record or replay messages </td></tr> +</table> +</dl> </td> + </tr> +</table> +<a name="a17" doxytag="NLNET::CUnifiedNetwork::isServiceLocal"></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::CUnifiedNetwork::isServiceLocal </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>serviceName</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> +Returns true if the serviceName service is on the same computer than this service. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8cpp-source.html#l01345">1345</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00431">_Name</a>, <a class="el" href="unified__network_8h-source.html#l00410">_NamedCnx</a>, <a class="el" href="unified__network_8cpp-source.html#l01364">isServiceLocal</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00822">range</a>. </td> + </tr> +</table> +<a name="a16" doxytag="NLNET::CUnifiedNetwork::isServiceLocal"></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::CUnifiedNetwork::isServiceLocal </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a9">uint16</a> </td> + <td class="mdname1" valign="top" nowrap> <em>sid</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> +Returns true if the sid service is on the same computer than this service. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8cpp-source.html#l01364">1364</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00404">_IdCnx</a>, and <a class="el" href="unified__network_8h-source.html#l00428">_SId</a>. +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l01345">isServiceLocal</a>. </td> + </tr> +</table> +<a name="d1" doxytag="NLNET::CUnifiedNetwork::isUsed"></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::CUnifiedNetwork::isUsed </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> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns true if the application called <a class="el" href="classNLNET_1_1CUnifiedNetwork.html#d0">getInstance</a>(). +<p> +This function is used to know if the user is using layer 4 or layer 5 +<p> +Definition at line <a class="el" href="unified__network_8cpp-source.html#l01405">1405</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8cpp-source.html#l01395">_Instance</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NLNET::CUnifiedNetwork::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::CUnifiedNetwork::release </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> +Closes the connection to the naming service, every other connection and free. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8cpp-source.html#l00552">552</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00434">_Callbacks</a>, <a class="el" href="unified__network_8h-source.html#l00413">_CbServer</a>, <a class="el" href="unified__network_8h-source.html#l00421">_DownCallbacks</a>, <a class="el" href="unified__network_8h-source.html#l00404">_IdCnx</a>, <a class="el" href="unified__network_8h-source.html#l00452">_Initialised</a>, <a class="el" href="unified__network_8h-source.html#l00410">_NamedCnx</a>, <a class="el" href="unified__network_8h-source.html#l00419">_UpCallbacks</a>, <a class="el" href="unified__network_8h-source.html#l00407">_UsedConnection</a>, <a class="el" href="common_8cpp-source.html#l00085">NLMISC::getThreadId</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, and <a class="el" href="unified__network_8cpp-source.html#l00039">NLNET::ThreadCreator</a>. </td> + </tr> +</table> +<a name="c6" doxytag="NLNET::CUnifiedNetwork::removeNamedCnx"></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::CUnifiedNetwork::removeNamedCnx </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a9">uint16</a> </td> + <td class="mdname" nowrap> <em>sid</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [private]</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="unified__network_8cpp-source.html#l01639">1639</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00410">_NamedCnx</a>, <a class="el" href="unified__network_8cpp-source.html#l00047">NLNET::allstuffs</a>, <a class="el" href="unified__network_8cpp-source.html#l00043">AUTOCHECK_DISPLAY</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00822">range</a>, and <a class="el" href="namespaceNLNET.html#a141">NLNET::test</a>. </td> + </tr> +</table> +<a name="a9" doxytag="NLNET::CUnifiedNetwork::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::CUnifiedNetwork::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>msg</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>nid</em> = 0xFF</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> +Broadcasts a message to all connected services. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>msg</em> </td><td> +the message you want to send. </td></tr> +<tr><td valign=top><em>nid</em> </td><td> +Network Id specify to which network the message must pass throw (0xFF mean the default network) </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="unified__network_8cpp-source.html#l01089">1089</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00404">_IdCnx</a>, <a class="el" href="unified__network_8h-source.html#l00452">_Initialised</a>, <a class="el" href="unified__network_8cpp-source.html#l00959">findConnectionId</a>, <a class="el" href="common_8cpp-source.html#l00085">NLMISC::getThreadId</a>, <a class="el" href="debug_8h-source.html#l00293">nlassertex</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, and <a class="el" href="unified__network_8cpp-source.html#l00039">NLNET::ThreadCreator</a>. </td> + </tr> +</table> +<a name="a8" doxytag="NLNET::CUnifiedNetwork::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"> bool NLNET::CUnifiedNetwork::send </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a9">uint16</a> </td> + <td class="mdname" nowrap> <em>serviceId</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNLNET_1_1CMessage.html">CMessage</a> & </td> + <td class="mdname" nowrap> <em>msg</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>nid</em> = 0xFF</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> +Sends a message to a specific serviceId. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>serviceId</em> </td><td> +Id of the service you want to send the message. </td></tr> +<tr><td valign=top><em>msg</em> </td><td> +the message you want to send. </td></tr> +<tr><td valign=top><em>nid</em> </td><td> +Network Id specify to which network the message must pass throw (0xFF mean the default network) </td></tr> +</table> +</dl><dl compact><dt><b> +Returns: </b><dd> +true if the service was found (may return true even if the sending failed) </dl> +<p> +Definition at line <a class="el" href="unified__network_8cpp-source.html#l01065">1065</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00404">_IdCnx</a>, <a class="el" href="unified__network_8h-source.html#l00452">_Initialised</a>, <a class="el" href="unified__network_8cpp-source.html#l00959">findConnectionId</a>, <a class="el" href="common_8cpp-source.html#l00085">NLMISC::getThreadId</a>, <a class="el" href="debug_8h-source.html#l00293">nlassertex</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, and <a class="el" href="unified__network_8cpp-source.html#l00039">NLNET::ThreadCreator</a>. </td> + </tr> +</table> +<a name="a7" doxytag="NLNET::CUnifiedNetwork::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"> bool NLNET::CUnifiedNetwork::send </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <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> & </td> + <td class="mdname" nowrap> <em>msg</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>nid</em> = 0xFF</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> +Sends a message to a specific serviceName. +<p> +If there's more than one service with this name, all services of this name will receive the message. <dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>serviceName</em> </td><td> +name of the service you want to send the message (may not be unique.) </td></tr> +<tr><td valign=top><em>msg</em> </td><td> +the message you want to send. </td></tr> +<tr><td valign=top><em>nid</em> </td><td> +Network Id specify to which network the message must pass throw (0xFF mean the default network) </td></tr> +</table> +</dl><dl compact><dt><b> +Returns: </b><dd> +true if the service was found (one or more instances) (may return true even if the sending failed) </dl> </td> + </tr> +</table> +<a name="a11" doxytag="NLNET::CUnifiedNetwork::setServiceDownCallback"></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::CUnifiedNetwork::setServiceDownCallback </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>serviceName</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="namespaceNLNET.html#a25">TUnifiedNetCallback</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> = 0, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>back</em> = true</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 callback for disconnections. +<p> +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> +If the serviceName is "*", you can set more than one callback, each one will be called one after one. Otherwise only the last setCallback will be called (and you can set cb to 0 to remove the callback). If the serviceName is "*", the callback will be call for any services If you set the same callback for a specific service S and for "*", the callback might be call twice (in case the service S is down)<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>back</em> </td><td> +if true, put the callback at the end of the callback array, otherwise but on the beginning. You should always use true </td></tr> +</table> +</dl> </td> + </tr> +</table> +<a name="a10" doxytag="NLNET::CUnifiedNetwork::setServiceUpCallback"></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::CUnifiedNetwork::setServiceUpCallback </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>serviceName</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="namespaceNLNET.html#a25">TUnifiedNetCallback</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> = 0, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>back</em> = true</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 callback for incoming connections. +<p> +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> +If the serviceName is "*", you can set more than one callback, each one will be called one after one. Otherwise only the last setCallback will be called (and you can set cb to 0 to remove the callback). If the serviceName is "*", the callback will be call for any services If you set the same callback for a specific service S and for "*", the callback might be call twice (in case the service S is up)<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>back</em> </td><td> +if true, put the callback at the end of the callback array, otherwise but on the beginning. You should always use true </td></tr> +</table> +</dl> </td> + </tr> +</table> +<a name="a6" doxytag="NLNET::CUnifiedNetwork::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::CUnifiedNetwork::update </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a> </td> + <td class="mdname1" valign="top" nowrap> <em>timeout</em> = 0 </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> +Call it evenly. +<p> +the parameter select the timeout value in seconds 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_1CUnifiedNetwork.html#a6">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_1CUnifiedNetwork.html#a6">update</a>(). In this case, we don't nlSleep(1). +<p> +Definition at line <a class="el" href="unified__network_8cpp-source.html#l00804">804</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +References <a class="el" href="unified__network_8h-source.html#l00413">_CbServer</a>, <a class="el" href="unified__network_8h-source.html#l00404">_IdCnx</a>, <a class="el" href="unified__network_8h-source.html#l00452">_Initialised</a>, <a class="el" href="unified__network_8h-source.html#l00440">_LastRetry</a>, <a class="el" href="unified__network_8h-source.html#l00431">_Name</a>, <a class="el" href="unified__network_8h-source.html#l00449">_NamingServiceAddr</a>, <a class="el" href="unified__network_8h-source.html#l00443">_NextUpdateTime</a>, <a class="el" href="unified__network_8h-source.html#l00425">_RecordingState</a>, <a class="el" href="unified__network_8h-source.html#l00416">_ServerPort</a>, <a class="el" href="unified__network_8h-source.html#l00428">_SId</a>, <a class="el" href="unified__network_8h-source.html#l00419">_UpCallbacks</a>, <a class="el" href="unified__network_8h-source.html#l00420">_UpUniCallback</a>, <a class="el" href="unified__network_8h-source.html#l00407">_UsedConnection</a>, <a class="el" href="unified__network_8cpp-source.html#l01612">addNamedCnx</a>, <a class="el" href="inet__address_8cpp-source.html#l00385">NLNET::CInetAddress::asString</a>, <a class="el" href="unified__network_8cpp-source.html#l01432">autoCheck</a>, <a class="el" href="common_8cpp-source.html#l00085">NLMISC::getThreadId</a>, <a class="el" href="unified__network_8cpp-source.html#l01596">haveNamedCnx</a>, <a class="el" href="inet__address_8cpp-source.html#l00297">NLNET::CInetAddress::isValid</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="debug_8h-source.html#l00293">nlassertex</a>, <a class="el" href="debug_8h-source.html#l00094">nlinfo</a>, <a class="el" href="common_8cpp-source.html#l00065">NLMISC::nlSleep</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, <a class="el" href="unified__network_8cpp-source.html#l00039">NLNET::ThreadCreator</a>, <a class="el" href="time__nl_8h-source.html#l00047">NLMISC::TTime</a>, and <a class="el" href="unified__network_8h-source.html#l00045">NLNET::TUnifiedNetCallback</a>. </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a name="l0" doxytag="NLNET::CUnifiedNetwork::isServiceLocalClass"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> friend struct isServiceLocalClass<code> [friend]</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="unified__network_8h-source.html#l00487">487</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. </td> + </tr> +</table> +<a name="l1" doxytag="NLNET::CUnifiedNetwork::uncbConnection"></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 uncbConnection </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>arg</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="unified__network_8cpp-source.html#l00164">164</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. </td> + </tr> +</table> +<a name="l2" doxytag="NLNET::CUnifiedNetwork::uncbDisconnection"></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 uncbDisconnection </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>arg</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="unified__network_8cpp-source.html#l00171">171</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. </td> + </tr> +</table> +<a name="l4" doxytag="NLNET::CUnifiedNetwork::uncbMsgProcessing"></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 uncbMsgProcessing </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><a class="el" href="classNLNET_1_1CCallbackNetBase.html">CCallbackNetBase</a> & </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="unified__network_8cpp-source.html#l00390">390</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. </td> + </tr> +</table> +<a name="l3" doxytag="NLNET::CUnifiedNetwork::uncbServiceIdentification"></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 uncbServiceIdentification </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><a class="el" href="classNLNET_1_1CCallbackNetBase.html">CCallbackNetBase</a> & </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="unified__network_8cpp-source.html#l00274">274</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. </td> + </tr> +</table> +<a name="l5" doxytag="NLNET::CUnifiedNetwork::uNetRegistrationBroadcast"></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 uNetRegistrationBroadcast </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="namespaceNLNET.html#a19">TServiceId</a> </td> + <td class="mdname" nowrap> <em>sid</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const std::vector< <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> > & </td> + <td class="mdname" nowrap> <em>addr</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> + </td> + </tr> +</table> +<a name="l6" doxytag="NLNET::CUnifiedNetwork::uNetUnregistrationBroadcast"></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 uNetUnregistrationBroadcast </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="namespaceNLNET.html#a19">TServiceId</a> </td> + <td class="mdname" nowrap> <em>sid</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const std::vector< <a class="el" href="classNLNET_1_1CInetAddress.html">CInetAddress</a> > & </td> + <td class="mdname" nowrap> <em>addr</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> + </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o12" doxytag="NLNET::CUnifiedNetwork::_Callbacks"></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_1CUnifiedNetwork.html#u0">TMsgMappedCallback</a> NLNET::CUnifiedNetwork::_Callbacks<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Map of callbacks. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00434">434</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l01117">addCallbackArray</a>, <a class="el" href="unified__network_8cpp-source.html#l01336">findCallback</a>, and <a class="el" href="unified__network_8cpp-source.html#l00552">release</a>. </td> + </tr> +</table> +<a name="o3" doxytag="NLNET::CUnifiedNetwork::_CbServer"></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_1CCallbackServer.html">CCallbackServer</a>* NLNET::CUnifiedNetwork::_CbServer<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The callback server. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00413">413</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +Referenced by <a class="el" href="unified__network_8h-source.html#l00461">CUnifiedNetwork</a>, <a class="el" href="unified__network_8cpp-source.html#l01206">getBytesReceived</a>, <a class="el" href="unified__network_8cpp-source.html#l01182">getBytesSent</a>, <a class="el" href="unified__network_8cpp-source.html#l01254">getReceiveQueueSize</a>, <a class="el" href="unified__network_8cpp-source.html#l01230">getSendQueueSize</a>, <a class="el" href="unified__network_8cpp-source.html#l00552">release</a>, and <a class="el" href="unified__network_8cpp-source.html#l00804">update</a>. </td> + </tr> +</table> +<a name="o19" doxytag="NLNET::CUnifiedNetwork::_DefaultNetwork"></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<std::string> NLNET::CUnifiedNetwork::_DefaultNetwork<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +for each services, which network to take. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00458">458</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +Referenced by <a class="el" href="unified__network_8h-source.html#l00185">addDefaultNetwork</a>, and <a class="el" href="unified__network_8h-source.html#l00188">clearDefaultNetwork</a>. </td> + </tr> +</table> +<a name="o7" doxytag="NLNET::CUnifiedNetwork::_DownCallbacks"></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_1CUnifiedNetwork.html#u2">TNameMappedCallback</a> NLNET::CUnifiedNetwork::_DownCallbacks<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="unified__network_8h-source.html#l00421">421</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l00552">release</a>. </td> + </tr> +</table> +<a name="o8" doxytag="NLNET::CUnifiedNetwork::_DownUniCallback"></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="classNLNET_1_1CUnifiedNetwork.html#u1">TCallbackArgItem</a>> NLNET::CUnifiedNetwork::_DownUniCallback<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="unified__network_8h-source.html#l00422">422</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. </td> + </tr> +</table> +<a name="o13" doxytag="NLNET::CUnifiedNetwork::_ExtSId"></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#a9">uint16</a> NLNET::CUnifiedNetwork::_ExtSId<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Used for external service. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00437">437</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +Referenced by <a class="el" href="unified__network_8h-source.html#l00461">CUnifiedNetwork</a>. </td> + </tr> +</table> +<a name="o0" doxytag="NLNET::CUnifiedNetwork::_IdCnx"></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="classNLNET_1_1CUnifiedNetwork_1_1CUnifiedConnection.html">CUnifiedConnection</a>> NLNET::CUnifiedNetwork::_IdCnx<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Vector of connections by service id (sid is the entry in this array, it means that there s some hole). +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00404">404</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l01432">autoCheck</a>, <a class="el" href="unified__network_8cpp-source.html#l01513">displayInternalTables</a>, <a class="el" href="unified__network_8cpp-source.html#l00959">findConnectionId</a>, <a class="el" href="unified__network_8cpp-source.html#l01206">getBytesReceived</a>, <a class="el" href="unified__network_8cpp-source.html#l01182">getBytesSent</a>, <a class="el" href="unified__network_8cpp-source.html#l01278">getNetBase</a>, <a class="el" href="unified__network_8cpp-source.html#l01254">getReceiveQueueSize</a>, <a class="el" href="unified__network_8cpp-source.html#l01230">getSendQueueSize</a>, <a class="el" href="unified__network_8cpp-source.html#l01414">getUnifiedConnection</a>, <a class="el" href="unified__network_8cpp-source.html#l01364">isServiceLocal</a>, <a class="el" href="unified__network_8cpp-source.html#l00552">release</a>, <a class="el" href="unified__network_8cpp-source.html#l01065">send</a>, and <a class="el" href="unified__network_8cpp-source.html#l00804">update</a>. </td> + </tr> +</table> +<a name="o17" doxytag="NLNET::CUnifiedNetwork::_Initialised"></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::CUnifiedNetwork::_Initialised<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +true if initialisation function called. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00452">452</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l00519">connect</a>, <a class="el" href="unified__network_8h-source.html#l00461">CUnifiedNetwork</a>, <a class="el" href="unified__network_8cpp-source.html#l01278">getNetBase</a>, <a class="el" href="unified__network_8cpp-source.html#l00552">release</a>, <a class="el" href="unified__network_8cpp-source.html#l01065">send</a>, and <a class="el" href="unified__network_8cpp-source.html#l00804">update</a>. </td> + </tr> +</table> +<a name="r0" doxytag="NLNET::CUnifiedNetwork::_Instance"></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"> CUnifiedNetwork * NLNET::CUnifiedNetwork::_Instance = NULL<code> [static, private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The main instance. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8cpp-source.html#l01395">1395</a> of file <a class="el" href="unified__network_8cpp-source.html">unified_network.cpp</a>. +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l01397">getInstance</a>, and <a class="el" href="unified__network_8cpp-source.html#l01405">isUsed</a>. </td> + </tr> +</table> +<a name="o14" doxytag="NLNET::CUnifiedNetwork::_LastRetry"></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::CUnifiedNetwork::_LastRetry<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Last time of retry. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00440">440</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +Referenced by <a class="el" href="unified__network_8h-source.html#l00461">CUnifiedNetwork</a>, and <a class="el" href="unified__network_8cpp-source.html#l00804">update</a>. </td> + </tr> +</table> +<a name="o11" doxytag="NLNET::CUnifiedNetwork::_Name"></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::string NLNET::CUnifiedNetwork::_Name<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Service name. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00431">431</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l01345">isServiceLocal</a>, and <a class="el" href="unified__network_8cpp-source.html#l00804">update</a>. </td> + </tr> +</table> +<a name="o2" doxytag="NLNET::CUnifiedNetwork::_NamedCnx"></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="structNLNET_1_1CUnifiedNetwork_1_1TNameMappedConnection.html">TNameMappedConnection</a> NLNET::CUnifiedNetwork::_NamedCnx<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Map of connections by service name. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00410">410</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l01612">addNamedCnx</a>, <a class="el" href="unified__network_8cpp-source.html#l01432">autoCheck</a>, <a class="el" href="unified__network_8cpp-source.html#l01513">displayInternalTables</a>, <a class="el" href="unified__network_8cpp-source.html#l01278">getNetBase</a>, <a class="el" href="unified__network_8cpp-source.html#l01596">haveNamedCnx</a>, <a class="el" href="unified__network_8cpp-source.html#l01345">isServiceLocal</a>, <a class="el" href="unified__network_8cpp-source.html#l00552">release</a>, and <a class="el" href="unified__network_8cpp-source.html#l01639">removeNamedCnx</a>. </td> + </tr> +</table> +<a name="o16" doxytag="NLNET::CUnifiedNetwork::_NamingServiceAddr"></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_1CInetAddress.html">NLNET::CInetAddress</a> NLNET::CUnifiedNetwork::_NamingServiceAddr<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Naming service. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00449">449</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l00804">update</a>. </td> + </tr> +</table> +<a name="o18" doxytag="NLNET::CUnifiedNetwork::_NetworkAssociations"></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="memory__common_8h.html#a11">uint32</a>> NLNET::CUnifiedNetwork::_NetworkAssociations<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +for each nid, which network address. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00455">455</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l01432">autoCheck</a>, <a class="el" href="unified__network_8h-source.html#l00176">clearNetworkAssociation</a>, and <a class="el" href="unified__network_8cpp-source.html#l01513">displayInternalTables</a>. </td> + </tr> +</table> +<a name="o15" doxytag="NLNET::CUnifiedNetwork::_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"> <a class="el" href="namespaceNLMISC.html#a183">NLMISC::TTime</a> NLNET::CUnifiedNetwork::_NextUpdateTime<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Time of the theorical next update. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00443">443</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +Referenced by <a class="el" href="unified__network_8h-source.html#l00461">CUnifiedNetwork</a>, and <a class="el" href="unified__network_8cpp-source.html#l00804">update</a>. </td> + </tr> +</table> +<a name="o9" doxytag="NLNET::CUnifiedNetwork::_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::CUnifiedNetwork::_RecordingState<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Recording state. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00425">425</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l00804">update</a>. </td> + </tr> +</table> +<a name="o4" doxytag="NLNET::CUnifiedNetwork::_ServerPort"></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#a9">uint16</a> NLNET::CUnifiedNetwork::_ServerPort<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The server port. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00416">416</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l00804">update</a>. </td> + </tr> +</table> +<a name="o10" doxytag="NLNET::CUnifiedNetwork::_SId"></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#a19">TServiceId</a> NLNET::CUnifiedNetwork::_SId<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Service id of the running service. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00428">428</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l00519">connect</a>, <a class="el" href="unified__network_8cpp-source.html#l01364">isServiceLocal</a>, and <a class="el" href="unified__network_8cpp-source.html#l00804">update</a>. </td> + </tr> +</table> +<a name="o5" doxytag="NLNET::CUnifiedNetwork::_UpCallbacks"></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_1CUnifiedNetwork.html#u2">TNameMappedCallback</a> NLNET::CUnifiedNetwork::_UpCallbacks<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Map of the up/down service callbacks. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00419">419</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l00552">release</a>, and <a class="el" href="unified__network_8cpp-source.html#l00804">update</a>. </td> + </tr> +</table> +<a name="o6" doxytag="NLNET::CUnifiedNetwork::_UpUniCallback"></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="classNLNET_1_1CUnifiedNetwork.html#u1">TCallbackArgItem</a>> NLNET::CUnifiedNetwork::_UpUniCallback<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="unified__network_8h-source.html#l00420">420</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l00804">update</a>. </td> + </tr> +</table> +<a name="o1" doxytag="NLNET::CUnifiedNetwork::_UsedConnection"></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="memory__common_8h.html#a9">uint16</a>> NLNET::CUnifiedNetwork::_UsedConnection<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This vector contains only an index to the unified connection. It is used to have quick access on the available connections. +<p> + +<p> +Definition at line <a class="el" href="unified__network_8h-source.html#l00407">407</a> of file <a class="el" href="unified__network_8h-source.html">unified_network.h</a>. +<p> +Referenced by <a class="el" href="unified__network_8cpp-source.html#l01432">autoCheck</a>, <a class="el" href="unified__network_8cpp-source.html#l01513">displayInternalTables</a>, <a class="el" href="unified__network_8cpp-source.html#l01206">getBytesReceived</a>, <a class="el" href="unified__network_8cpp-source.html#l01182">getBytesSent</a>, <a class="el" href="unified__network_8cpp-source.html#l01254">getReceiveQueueSize</a>, <a class="el" href="unified__network_8cpp-source.html#l01230">getSendQueueSize</a>, <a class="el" href="unified__network_8cpp-source.html#l00552">release</a>, and <a class="el" href="unified__network_8cpp-source.html#l00804">update</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="unified__network_8h-source.html">unified_network.h</a><li><a class="el" href="unified__network_8cpp-source.html">unified_network.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> |