<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Server class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.2.17 --> <center> <a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</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="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>Server Class Reference</h1><code>#include <<a class="el" href="server_8h-source.html">server.h</a>></code> <p> Collaboration diagram for Server:<p><center><img src="classServer__coll__graph.gif" border="0" usemap="#Server__coll__map" alt="Collaboration graph"></center> <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classServer-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classServer.html#a0">Boot</a> (unsigned short port)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classServer.html#a1">Run</a> ()</td></tr> <tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top>Server * </td><td valign=bottom><a class="el" href="classServer.html#d0">Instance</a> ()</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classServer.html#d1">Destroy</a> ()</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="classServer.html#c0">Server</a> ()</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classServer.html#c1">~Server</a> ()</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classServer.html#c2">Server</a> (const Server &)</td></tr> <tr><td nowrap align=right valign=top>Server & </td><td valign=bottom><a class="el" href="classServer.html#c3">operator=</a> (const Server &)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classConnection.html">Connection</a> * </td><td valign=bottom><a class="el" href="classServer.html#c4">AcceptConnection</a> ()</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classServer.html#c5">InitFDs</a> ()</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classServer.html#c6">Execute</a> ()</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classServer.html#c7">ShutdownServer</a> ()</td></tr> <tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classServer.html#o0">mShutdown</a></td></tr> <tr><td> </td><td><font size=-1><em>flag indicating whether the server is shutting down</em> <a href="#o0"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>fd_set </td><td valign=bottom><a class="el" href="classServer.html#o1">mInputFDs</a></td></tr> <tr><td> </td><td><font size=-1><em>array of input sockets that select will test</em> <a href="#o1"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>fd_set </td><td valign=bottom><a class="el" href="classServer.html#o2">mOutputFDs</a></td></tr> <tr><td> </td><td><font size=-1><em>array of output sockets that select will test</em> <a href="#o2"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>SOCKET </td><td valign=bottom><a class="el" href="classServer.html#o3">mAcceptor</a></td></tr> <tr><td> </td><td><font size=-1><em>socket that the Server listens to for incoming connections</em> <a href="#o3"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>sockaddr_in </td><td valign=bottom><a class="el" href="classServer.html#o4">mTo</a></td></tr> <tr><td> </td><td><font size=-1><em>network address of the server listening port</em> <a href="#o4"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="server_8h.html#a0">ConnList</a> </td><td valign=bottom><a class="el" href="classServer.html#o5">mUsers</a></td></tr> <tr><td> </td><td><font size=-1><em>the list of Connections managed by the Server</em> <a href="#o5"></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>Server * </td><td valign=bottom><a class="el" href="classServer.html#r0">sInstance</a> = 0</td></tr> <tr><td> </td><td><font size=-1><em>pointer to the singleton Server instance</em> <a href="#r0"></a><em></em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> The Server class defines a singleton representation of a virtual network server. <p> <dl compact><dt><b>Note: </b></dt><dd> No reason why this should be a singleton as long as different ports are served.</dl> <p> <dl compact><dt><b><a class="el" href="todo.html#_todo000002">Todo: </a></b></dt><dd> <ul> <li>Make Server an abstract class overriding its Run method to illustrate different network designs as well as different types of servers, e.g. httpd, ftpd, instead of telnetd. - Move Execute out of here as it belongs to some Chat engine</dl> <p> <p> Definition at line <a class="el" href="server_8h-source.html#l00035">35</a> of file <a class="el" href="server_8h-source.html">server.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="c0" doxytag="Server::Server"></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"> Server::Server </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> Constructor for Server <p> Definition at line <a class="el" href="server_8cpp-source.html#l00022">22</a> of file <a class="el" href="server_8cpp-source.html">server.cpp</a>. </td> </tr> </table> <a name="c1" doxytag="Server::~Server"></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"> Server::~Server </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> Destructor for Server <p> Definition at line <a class="el" href="server_8cpp-source.html#l00028">28</a> of file <a class="el" href="server_8cpp-source.html">server.cpp</a>. <p> References <a class="el" href="server_8h-source.html#l00068">mUsers</a>. </td> </tr> </table> <a name="c2" doxytag="Server::Server"></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"> Server::Server </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Server & </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> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="c4" doxytag="Server::AcceptConnection"></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="classConnection.html">Connection</a> * Server::AcceptConnection </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> AcceptConnection handles an incoming connection request on the server's listening port by creating a <a class="el" href="classConnection.html">Connection</a> object for the socket. <p> <dl compact><dt><b>Returns :</b></dt><dd> A pointer to the new connection </dl> <p> Definition at line <a class="el" href="server_8cpp-source.html#l00149">149</a> of file <a class="el" href="server_8cpp-source.html">server.cpp</a>. <p> References <a class="el" href="server_8h-source.html#l00064">mAcceptor</a>. <p> Referenced by <a class="el" href="server_8cpp-source.html#l00104">Run</a>(). </td> </tr> </table> <a name="a0" doxytag="Server::Boot"></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 Server::Boot </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">unsigned short </td> <td class="mdname1" valign="top" nowrap> <em>port</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> Boot initializes the Server and gets it ready to accept incoming Connections. <p> <dl compact><dt><b>Returns :</b></dt><dd> true if server boots correctly, false if an error occurs </dl> <p> Definition at line <a class="el" href="server_8cpp-source.html#l00062">62</a> of file <a class="el" href="server_8cpp-source.html">server.cpp</a>. <p> References <a class="el" href="server_8h-source.html#l00064">mAcceptor</a>, and <a class="el" href="server_8h-source.html#l00066">mTo</a>. <p> Referenced by <a class="el" href="paradigm_8cpp-source.html#l00120">main</a>(). </td> </tr> </table> <a name="d1" doxytag="Server::Destroy"></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 Server::Destroy </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> Destroys the singleton instance of Server <p> Definition at line <a class="el" href="server_8cpp-source.html#l00051">51</a> of file <a class="el" href="server_8cpp-source.html">server.cpp</a>. <p> References <a class="el" href="server_8cpp-source.html#l00014">sInstance</a>. <p> Referenced by <a class="el" href="paradigm_8cpp-source.html#l00120">main</a>(). </td> </tr> </table> <a name="c6" doxytag="Server::Execute"></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 Server::Execute </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> Execute processes the messages contained in all the input queues of all the connections in the server's user list. <p> <dl compact><dt><b>Remarks: </b></dt><dd> The are only two kinds of messages.<ul> <li>@shutdown - requests the server to shutdown<li>everything else is interpreted as public conversation </ul> </dl> <p> Definition at line <a class="el" href="server_8cpp-source.html#l00195">195</a> of file <a class="el" href="server_8cpp-source.html">server.cpp</a>. <p> References <a class="el" href="server_8h-source.html#l00058">mShutdown</a>, and <a class="el" href="server_8h-source.html#l00068">mUsers</a>. <p> Referenced by <a class="el" href="server_8cpp-source.html#l00104">Run</a>(). </td> </tr> </table> <a name="c5" doxytag="Server::InitFDs"></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 Server::InitFDs </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> InitFDs initializes the server's select queue and then re-registers interest in all the connection's sockets in the server's user list including the server's listening port itself. <p> <dl compact><dt><b>Note: </b></dt><dd> It may well be more efficient to register or unregister interest on a connection by connection basis in the various connection handling routines. </dl> <p> Definition at line <a class="el" href="server_8cpp-source.html#l00175">175</a> of file <a class="el" href="server_8cpp-source.html">server.cpp</a>. <p> References <a class="el" href="server_8h-source.html#l00064">mAcceptor</a>, <a class="el" href="server_8h-source.html#l00060">mInputFDs</a>, <a class="el" href="server_8h-source.html#l00062">mOutputFDs</a>, and <a class="el" href="server_8h-source.html#l00068">mUsers</a>. <p> Referenced by <a class="el" href="server_8cpp-source.html#l00104">Run</a>(). </td> </tr> </table> <a name="d0" doxytag="Server::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"> Server * Server::Instance </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> Instance retrieves the singleton instance of Server <p> <dl compact><dt><b>Returns :</b></dt><dd> A pointer to the singleton instance of Server </dl> <p> Definition at line <a class="el" href="server_8cpp-source.html#l00041">41</a> of file <a class="el" href="server_8cpp-source.html">server.cpp</a>. <p> References <a class="el" href="server_8cpp-source.html#l00014">sInstance</a>. <p> Referenced by <a class="el" href="paradigm_8cpp-source.html#l00120">main</a>(). </td> </tr> </table> <a name="c3" doxytag="Server::operator="></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"> Server& Server::operator= </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const Server & </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> </td> </tr> </table> <a name="a1" doxytag="Server::Run"></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 Server::Run </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> Run starts the Server running to process incomming connection, input and output requests. It also executes commands from input requests. <p> Definition at line <a class="el" href="server_8cpp-source.html#l00104">104</a> of file <a class="el" href="server_8cpp-source.html">server.cpp</a>. <p> References <a class="el" href="server_8cpp-source.html#l00149">AcceptConnection</a>(), <a class="el" href="server_8cpp-source.html#l00195">Execute</a>(), <a class="el" href="server_8cpp-source.html#l00175">InitFDs</a>(), <a class="el" href="server_8h-source.html#l00064">mAcceptor</a>, <a class="el" href="server_8h-source.html#l00060">mInputFDs</a>, <a class="el" href="server_8h-source.html#l00062">mOutputFDs</a>, <a class="el" href="server_8h-source.html#l00058">mShutdown</a>, <a class="el" href="server_8h-source.html#l00068">mUsers</a>, <a class="el" href="connection_8cpp-source.html#l00223">Connection::SendMsg</a>(), and <a class="el" href="server_8cpp-source.html#l00224">ShutdownServer</a>(). <p> Referenced by <a class="el" href="paradigm_8cpp-source.html#l00120">main</a>(). </td> </tr> </table> <a name="c7" doxytag="Server::ShutdownServer"></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 Server::ShutdownServer </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> ShutdownServer requests each of the connections to disconnect in the server's user list, deletes the connections, and erases them from the user list. It then closes its own listening port. <p> Definition at line <a class="el" href="server_8cpp-source.html#l00224">224</a> of file <a class="el" href="server_8cpp-source.html">server.cpp</a>. <p> References <a class="el" href="server_8h-source.html#l00064">mAcceptor</a>, and <a class="el" href="server_8h-source.html#l00068">mUsers</a>. <p> Referenced by <a class="el" href="server_8cpp-source.html#l00104">Run</a>(). </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="o3" doxytag="Server::mAcceptor"></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"> SOCKET Server::mAcceptor<code> [private]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> socket that the Server listens to for incoming connections <p> <p> Definition at line <a class="el" href="server_8h-source.html#l00064">64</a> of file <a class="el" href="server_8h-source.html">server.h</a>. <p> Referenced by <a class="el" href="server_8cpp-source.html#l00149">AcceptConnection</a>(), <a class="el" href="server_8cpp-source.html#l00062">Boot</a>(), <a class="el" href="server_8cpp-source.html#l00175">InitFDs</a>(), <a class="el" href="server_8cpp-source.html#l00104">Run</a>(), and <a class="el" href="server_8cpp-source.html#l00224">ShutdownServer</a>(). </td> </tr> </table> <a name="o1" doxytag="Server::mInputFDs"></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"> fd_set Server::mInputFDs<code> [private]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> array of input sockets that select will test <p> <p> Definition at line <a class="el" href="server_8h-source.html#l00060">60</a> of file <a class="el" href="server_8h-source.html">server.h</a>. <p> Referenced by <a class="el" href="server_8cpp-source.html#l00175">InitFDs</a>(), and <a class="el" href="server_8cpp-source.html#l00104">Run</a>(). </td> </tr> </table> <a name="o2" doxytag="Server::mOutputFDs"></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"> fd_set Server::mOutputFDs<code> [private]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> array of output sockets that select will test <p> <p> Definition at line <a class="el" href="server_8h-source.html#l00062">62</a> of file <a class="el" href="server_8h-source.html">server.h</a>. <p> Referenced by <a class="el" href="server_8cpp-source.html#l00175">InitFDs</a>(), and <a class="el" href="server_8cpp-source.html#l00104">Run</a>(). </td> </tr> </table> <a name="o0" doxytag="Server::mShutdown"></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 Server::mShutdown<code> [private]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> flag indicating whether the server is shutting down <p> <p> Definition at line <a class="el" href="server_8h-source.html#l00058">58</a> of file <a class="el" href="server_8h-source.html">server.h</a>. <p> Referenced by <a class="el" href="server_8cpp-source.html#l00195">Execute</a>(), and <a class="el" href="server_8cpp-source.html#l00104">Run</a>(). </td> </tr> </table> <a name="o4" doxytag="Server::mTo"></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"> struct sockaddr_in Server::mTo<code> [private]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> network address of the server listening port <p> <p> Definition at line <a class="el" href="server_8h-source.html#l00066">66</a> of file <a class="el" href="server_8h-source.html">server.h</a>. <p> Referenced by <a class="el" href="server_8cpp-source.html#l00062">Boot</a>(). </td> </tr> </table> <a name="o5" doxytag="Server::mUsers"></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="server_8h.html#a0">ConnList</a> Server::mUsers<code> [private]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> the list of Connections managed by the Server <p> <p> Definition at line <a class="el" href="server_8h-source.html#l00068">68</a> of file <a class="el" href="server_8h-source.html">server.h</a>. <p> Referenced by <a class="el" href="server_8cpp-source.html#l00195">Execute</a>(), <a class="el" href="server_8cpp-source.html#l00175">InitFDs</a>(), <a class="el" href="server_8cpp-source.html#l00104">Run</a>(), <a class="el" href="server_8cpp-source.html#l00224">ShutdownServer</a>(), and <a class="el" href="server_8cpp-source.html#l00028">~Server</a>(). </td> </tr> </table> <a name="r0" doxytag="Server::sInstance"></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"> Server * Server::sInstance = 0<code> [static, private]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> pointer to the singleton Server instance <p> <p> Definition at line <a class="el" href="server_8cpp-source.html#l00014">14</a> of file <a class="el" href="server_8cpp-source.html">server.cpp</a>. <p> Referenced by <a class="el" href="server_8cpp-source.html#l00051">Destroy</a>(), and <a class="el" href="server_8cpp-source.html#l00041">Instance</a>(). </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="server_8h-source.html">server.h</a><li><a class="el" href="server_8cpp-source.html">server.cpp</a></ul> <hr><address style="align: right;"><small>Generated on Mon Mar 29 22:38:42 2004 for Paradigm by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.17 </small></address> </body> </html>