Starshatter_Open
Open source Starshatter engine
|
#include <NetServer.h>
Public Member Functions | |
NetServer (WORD port, int poolsize=1) | |
virtual | ~NetServer () |
int | operator== (const NetServer &l) const |
virtual void | Shutdown () |
virtual DWORD | Listener () |
virtual DWORD | Reader (int index) |
virtual Text | ProcessRequest (Text request, const NetAddr &addr) |
virtual Text | DefaultResponse () |
virtual Text | ErrorResponse () |
const NetAddr & | GetAddress () const |
int | GetLastError () const |
Static Public Member Functions | |
static const char * | TYPENAME () |
Protected Attributes | |
NetAddr | addr |
NetSock | sock |
NetAddr | client_addr |
int | poolsize |
HANDLE | hreader |
HANDLE * | pool |
NetSock ** | conn |
NetAddr * | clients |
int | err |
bool | server_shutdown |
ThreadSync | sync |
Definition at line 27 of file NetServer.h.
NetServer::NetServer | ( | WORD | port, |
int | poolsize = 1 |
||
) |
Definition at line 34 of file NetServer.cpp.
|
virtual |
Definition at line 70 of file NetServer.cpp.
|
virtual |
Reimplemented in HttpServer.
Definition at line 233 of file NetServer.cpp.
|
virtual |
Reimplemented in HttpServer.
Definition at line 248 of file NetServer.cpp.
|
inline |
Definition at line 45 of file NetServer.h.
|
inline |
Definition at line 46 of file NetServer.h.
|
virtual |
Definition at line 117 of file NetServer.cpp.
|
inline |
Definition at line 35 of file NetServer.h.
Reimplemented in HttpServer.
Definition at line 224 of file NetServer.cpp.
|
virtual |
Definition at line 164 of file NetServer.cpp.
|
virtual |
Definition at line 99 of file NetServer.cpp.
|
inlinestatic |
Reimplemented in HttpServer, and HttpServletExec.
Definition at line 30 of file NetServer.h.
|
protected |
Definition at line 49 of file NetServer.h.
|
protected |
Definition at line 51 of file NetServer.h.
|
protected |
Definition at line 57 of file NetServer.h.
|
protected |
Definition at line 56 of file NetServer.h.
|
protected |
Definition at line 58 of file NetServer.h.
|
protected |
Definition at line 54 of file NetServer.h.
|
protected |
Definition at line 55 of file NetServer.h.
|
protected |
Definition at line 53 of file NetServer.h.
|
protected |
Definition at line 59 of file NetServer.h.
|
protected |
Definition at line 50 of file NetServer.h.
|
protected |
Definition at line 61 of file NetServer.h.