aboutsummaryrefslogtreecommitdiff
path: root/cvs/cvsweb.cgi/code/nelns/doc/server.dxt.diff?r1=1.1&r2=1.2
blob: f6822961a103552b13ace98aaacb11ac63206d1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML>
<HEAD><style>		A { color:black }</style>
<!-- hennerik CVSweb $Revision: 1.93 $ -->
<TITLE>code/nelns/doc/server.dxt - diff - 1.2</TITLE></HEAD>
<BODY BGCOLOR="#eeeeee">
<table width="100%" border=0 cellspacing=0 cellpadding=1 bgcolor="#aaaaaa"><tr valign=bottom><td><a href="/cvs/cvsweb.cgi/code/nelns/doc/server.dxt"><IMG SRC="/inc/img/picto-up.gif" ALT="[BACK]" BORDER="0" WIDTH="14" HEIGHT="13"></a> <b>Return to <A HREF="/cvs/cvsweb.cgi/code/nelns/doc/server.dxt">server.dxt</A>
 CVS log</b> <IMG SRC="/inc/img/picto-news.gif" ALT="[TXT]" BORDER="0" WIDTH="13" HEIGHT="15"></td><td align=right><IMG SRC="/inc/img/picto-dir.gif" ALT="[DIR]" BORDER="0" WIDTH="15" HEIGHT="13"> <b>Up to  <a href="/cvs/cvsweb.cgi/">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/">code</a> / <a href="/cvs/cvsweb.cgi/code/nelns/">nelns</a> / <a href="/cvs/cvsweb.cgi/code/nelns/doc/">doc</a></b></td></tr></table><h3 align=center>Diff for /code/nelns/doc/server.dxt between version 1.1 and 1.2</h3>
<table border=0 cellspacing=0 cellpadding=0 width="100%">
<tr bgcolor="#ffffff">
<th width="50%" valign=TOP>version 1.1, 2001/04/18 13:54:25</th>
<th width="50%" valign=TOP>version 1.2, 2001/10/25 15:00:36</th>
<tr bgcolor="#dddddd"><td width="50%"><table width="100%" border=1 cellpadding=5><tr><td><b>Line 1</b>&nbsp;<font size=-1></font></td></tr></table></td><td width="50%"><table width="100%" border=1 cellpadding=5><tr><td><b>Line 1</b>&nbsp;<font size=-1></font></td></tr></table></td>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;/**</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;/**</font></td></tr>
<tr><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;\mainpage Server</font></td><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;\mainpage NeLNS (Nevrax Library Network Services)</font></td></tr>
<tr><td bgcolor="#99cc99">&nbsp;</td><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;</font></td></tr>
<tr><td bgcolor="#99cc99">&nbsp;</td><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;\date 10/25/2001</font></td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;\section server_intro Introduction</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;\section server_intro Introduction</font></td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td></tr>
<tr><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;This documentation describes NEVRAX NeL Network Services, a set of services built on the top of NeL. One service is usually one process. A service class must be or inherit from NLNET::IService. Report to NeL documents for further information.</font></td><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;This documentation describes Nevrax NeL Network Services, a set of services built on the top of NeL. One service is usually one process. A service class must be or inherit from NLNET::IService. Report to NeL documents for further information.</font></td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;The format of the messages that can be processed by a service are described in the documentation of the .cpp file of the service, in the detailed description of the callbacks. For example, if you want to know how to interact with the Naming Service (or rather how NLNET::CNamingClient interacts with it), read the documentation of naming_service.cpp. </font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;The format of the messages that can be processed by a service are described in the documentation of the .cpp file of the service, in the detailed description of the callbacks. For example, if you want to know how to interact with the Naming Service (or rather how NLNET::CNamingClient interacts with it), read the documentation of naming_service.cpp. </font></td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td></tr>
<tr><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;\subsection nelns_services The NEVRAX NeL Network Services</font></td><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;\subsection nelns_services The Nevrax NeL Network Services</font></td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;NeLNS is made up of one unique login service, one or several shards (aka game servers), and a few utility services. </font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;NeLNS is made up of one unique login service, one or several shards (aka game servers), and a few utility services. </font></td></tr>
<tr><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;- naming_service &nbsp;-&gt; used to find a specific service by its name (naming_service.cpp)</font></td><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;- admin_executor_service -&gt; control services on the server (admin_executor_service.cpp)</font></td></tr>
<tr><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;- log_service &nbsp; &nbsp; -&gt; centralized logger for all services (log_service.cpp)</font></td><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;- admin_service -&gt; control a shard (admin_service.cpp)</font></td></tr>
<tr><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;- time_service &nbsp; &nbsp;-&gt; centralized time reference manager (time_service.cpp)</font></td><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;- naming_service &nbsp;-&gt; used to find a specific service by its name or service id (naming_service.cpp)</font></td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;- login_service &nbsp; -&gt; centralized user account manager for all shards (login_service.cpp)</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;- login_service &nbsp; -&gt; centralized user account manager for all shards (login_service.cpp)</font></td></tr>
<tr><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;- admin_executor_service -&gt; collects stats about a physical machine (admin_executor_service.cpp)</font></td><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;- welcome_service -&gt; translator between login_service and front end of the shard (login_service.cpp)</font></td></tr>
<tr><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;- agent_service &nbsp; -&gt; routes messages for inter-agent communication over several machines (agent_service.cpp)</font></td><td bgcolor="#99cc99">&nbsp;</td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;\subsection nelns_config_files Configuration files</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;\subsection nelns_config_files Configuration files</font></td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td></tr>
<tr><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;For all services : ns.cfg</font></td><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;If needing the config file have the extention .cfg and have the same name as the exectuable name (ex: admin_service configuration file name is &quot;admin_service.cfg&quot;)</font></td></tr>
<tr><td bgcolor="#99cc99">&nbsp;</td><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;</font></td></tr>
<tr><td bgcolor="#99cc99">&nbsp;</td><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;All services inside of the shard must have NSHost and NSPort variable in the config to connect to the naming_service.</font></td></tr>
<tr><td bgcolor="#99cc99">&nbsp;</td><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;</font></td></tr>
<tr><td bgcolor="#99cc99">&nbsp;</td><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;For example welcome_service.cfg must have at least:</font></td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;\code</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;\code</font></td></tr>
<tr><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;Host = &quot;hostname_of_your_machine_where_naming_service_will_run&quot;;</font></td><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;NSHost = &quot;hostname_of_your_machine_where_naming_service_will_run&quot;;</font></td></tr>
<tr><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;Port = 50000;</font></td><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;NSPort = 50000;</font></td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;\endcode</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;\endcode</font></td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td></tr>
<tr><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;For login_service : ls.txt</font></td><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;The welcome_service config must also contain the host address of the login_service</font></td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;\code</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;\code</font></td></tr>
<tr><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;Shards = {</font></td><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;LSHost = &quot;hostname_of_your_machine_where_login_service_will_run&quot;;</font></td></tr>
<tr><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp; &quot;hostname_of_your_machine_where_game_service_will_run&quot;, &quot;Name of the shard as it will appear on the client&quot;</font></td><td bgcolor="#99cc99">&nbsp;</td></tr>
<tr><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;};</font></td><td bgcolor="#99cc99">&nbsp;</td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;\endcode</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;\endcode</font></td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;\subsection nelns_output_files Output files</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;\subsection nelns_output_files Output files</font></td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;The services create/modify the following config or log files:</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;The services create/modify the following config or log files:</font></td></tr>
<tr><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;- unitime.cfg (time_service) : Contains the time reference</font></td><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;- log.log (very big especially if you have compiled the services with NL_DEBUG defined) : Contains all debug information sent by the services.</font></td></tr>
<tr><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;- logs.log (very big especially if you have compiled the services with NL_DEBUG defined) (log_service) : Contains all debug information sent by the services.</font></td><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;- login_service_database.cfg (login_service) : Every time a new user (not registered before) logs in, its login and password are saved into ls.txt.</font></td></tr>
<tr><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;- ls.txt (login_service) : Every time a new user (not registered before) logs in, its login</font></td><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;- ls.log (login_service) : Every time someone logs in, its configuration information is saved into ls.log.</font></td></tr>
<tr><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp; &nbsp;and password are saved into ls.txt</font></td><td bgcolor="#99cc99">&nbsp;</td></tr>
<tr><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp;- ls.log (login_service) : Every time someone logs in, its configuration information is</font></td><td bgcolor="#99cc99">&nbsp;</td></tr>
<tr><td bgcolor="#99ff99"><font face="Helvetica,Arial" size="-1">&nbsp; &nbsp;saved into ls.log</font></td><td bgcolor="#99cc99">&nbsp;</td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;</font></td></tr>
<tr><td><font face="Helvetica,Arial" size="-1">&nbsp;*/</font></td><td><font face="Helvetica,Arial" size="-1">&nbsp;*/</font></td></tr>
</table><br><hr noshade width="100%">
<table border=0><tr><td><table border=1><tr><td>Legend:<br><table border=0 cellspacing=0 cellpadding=1>
<tr><td align=center bgcolor="#ff9999">Removed from v.1.1</td><td bgcolor="#cccccc">&nbsp;</td></tr><tr bgcolor="#99ff99"><td align=center colspan=2>changed lines</td></tr><tr><td bgcolor="#cccccc">&nbsp;</td><td align=center bgcolor="#ccccff">Added in v.1.2</td></tr></table></td></tr></table>
<td><FORM METHOD="GET" ACTION="/cvs/cvsweb.cgi/code/nelns/doc/server.dxt.diff">
<INPUT TYPE=HIDDEN NAME="r1" VALUE="1.1">
<INPUT TYPE=HIDDEN NAME="r2" VALUE="1.2">
<SELECT NAME="f" onchange="submit()">
<OPTION VALUE=h SELECTED>Colored Diff<OPTION VALUE=H>Long Colored Diff<OPTION VALUE=u>Unidiff<OPTION VALUE=c>Context Diff<OPTION VALUE=s>Side by Side</SELECT><INPUT TYPE=SUBMIT VALUE="Show">
</FORM>
</td></tr></table>