#include <socket_exception.h>#include <platform.h>#include <socket_ew.h>#include <transport.h>#include <threadableobject.h>#include <time.h>#include <configurable.h>#include <map>#include <vector>#include <worm_types.h>#include <worm_defs.h>#include <worm_signal.h>#include <logger.h>#include <globalutils.h>#include <configsource.h>Go to the source code of this file.
Compounds | |
| struct | _ServiceThreadInfoStruct |
| class | WormServerBase |
Defines | |
| #define | EWserverbaseH |
| #define | thr_ret void fun |
| #define | _USING_EW_XPORT 1 |
| #define | SERVE_MAX_THREADS 100 |
| #define | WAIT_FOR_SERVICE_THREAD 3000 |
| #define | SERVICE_THREAD_SLEEP_MS 1000 |
| #define | SERVICE_THREAD_PULSE_MAX 10 |
| #define | THREAD_STACK (unsigned int)8096 |
| #define | MIN_RECV_TIMEOUT_MS 50 |
Typedefs | |
| typedef char | CLIENT_IPADDR [16] |
| typedef _ServiceThreadInfoStruct | ServiceThreadInfoStruct |
| typedef std::map< SOCKET, ServiceThreadInfoStruct > | SERVICETHREAD_MAP |
| typedef SERVICETHREAD_MAP::iterator | SERVICETHREAD_MAP_ITERATOR |
| typedef std::vector< SOCKET > | SERVICETHREADID_VECTOR |
Enumerations | |
| enum | WORM_SERVER_THREAD_STATE { THREAD_ERROR = -1, THREAD_STARTING = 0, THREAD_INITIALIZING = 1, THREAD_WAITING = 2, THREAD_PROCESSING = 3, THREAD_BLOCKINGSOCKET = 4, THREAD_DISCONNECTED = 5, THREAD_COMPLETED = 10 } |
|
|
Definition at line 23 of file serverbase.h. |
|
|
Definition at line 6 of file serverbase.h. |
|
|
Definition at line 56 of file serverbase.h. Referenced by WormServerBase::CheckConfig(), and MutableServerBase::CheckConfig(). |
|
|
Definition at line 44 of file serverbase.h. Referenced by WormServerBase::HandleConfigLine(), and WormServerBase::SetMaxThreads(). |
|
|
Definition at line 49 of file serverbase.h. Referenced by WormServerBase::Listener(). |
|
|
Definition at line 47 of file serverbase.h. |
|
|
Definition at line 19 of file serverbase.h. |
|
|
Definition at line 53 of file serverbase.h. |
|
|
Definition at line 45 of file serverbase.h. |
|
|
Definition at line 71 of file serverbase.h. |
|
|
Definition at line 83 of file serverbase.h. |
|
|
Definition at line 84 of file serverbase.h. Referenced by WormServerBase::Listener(). |
|
|
Definition at line 86 of file serverbase.h. Referenced by WormServerBase::Listener(). |
|
|
|
|
|
Definition at line 59 of file serverbase.h. |
1.3-rc3