#include <servermanager.h>
Inheritance diagram for ssobjects::ServerManager::

Public Types | |
| enum | { MIN_FREQ = 10 } |
Public Methods | |
| ServerManager (const SockAddr &saBind, const unsigned32 nFreq, const unsigned32 nMaxConnections, const bool bUseThread) | |
| virtual | ~ServerManager () |
| void | startServer () |
| bool | canBind () |
| virtual threadReturn | ThreadHandlerProc (void) |
| void | acceptConnection (SocketInstance &sListen) |
| virtual SimpleServer * | createServerInstance (ServerSocket *const psocket, const SockAddr &saClient, const unsigned32 nFreq)=0 |
Protected Attributes | |
| SocketInstance | m_sListen |
| SockAddr | m_saServer |
| LinkedList< SimpleServer > | m_listSimpleServers |
| unsigned32 | m_nIdleFrequency |
| unsigned32 | m_nMaxConnections |
| bool | m_bUsingThread |
| bool | m_bPause |
| CSimpleTime | m_serverStartTime |
| CSimpleDate | m_serverStartDate |
|
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
Reimplemented from ssobjects::ThreadHandler. |
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.11 written by Dimitri van Heesch,
© 1997-2001