Defined in file: hzIpServer.h
Constructors/Detructors
hzIpServer* | hzIpServer | (void) | |
NULL-BASIS | ~hzIpServer | (void) |
Public Methods:
hzEcode | Activate | (void) | |
hzEcode | AddPortHTTP | (hzTcpCode(*)(hzHttpEvent*) OnHttpReq, unsigned int nTimeout, unsigned int nPort, unsigned int nMaxClients, bool bSecure) | |
hzEcode | AddPortTCP | (hzTcpCode(*)(hzChain&,hzIpConnex*) OnIngress, hzTcpCode(*)(hzIpConnex*) OnConnect, hzTcpCode(*)(hzIpConnex*) OnDisconn, unsigned int nTimeout, unsigned int nPort, unsigned int nMaxClients, bool bSecure) | |
hzEcode | AddPortUDP | (hzTcpCode(*)(hzChain&,hzIpConnex*) OnIngress, hzTcpCode(*)(hzIpConnex*) OnConnect, hzTcpCode(*)(hzIpConnex*) OnDisconn, unsigned int nTimeout, unsigned int nPort, unsigned int nMaxClients, bool bSecure) | |
hzIpServer* | GetInstance | (hzLogger* pLogger) | |
void | Halt | (void) | |
hzEcode | ProxyTo | (hzIpConnex* pConn, unsigned int nPort) | |
void | Serve | (void) | ** Check for hangups and other connection errors |
void | ServeRequests | (void) | |
void | ServeResponses | (void) | |
void | ServeX | (void) | |
void | SetLogger | (hzLogger* pLog) | |
void | SetStats | (hzLogger* pStats) | |
void | SetTimeout | (unsigned int Timeout) | |
hzEcode | _nonblock | (unsigned int nSock) |
Member Variables:
hzMapS<unsigned int,hzIpConnex*> | ConnInError | No description | |
hzList<hzIpListen*> | m_LS | No description | |
epoll_event* | m_arEvents | No description | |
bool | m_bActive | No description | |
bool | m_bShutdown | No description | |
unsigned int | m_eError | No description | |
hzMapS<unsigned int,hzIpListen*> | m_mapLS | No description | |
int | m_nCliLen | No description | |
unsigned int | m_nCurrentClients | No description | |
unsigned int | m_nLoop | No description | |
unsigned int | m_nMaxClients | No description | |
unsigned int | m_nMaxSocket | No description | |
unsigned int | m_nTimeout | No description | |
hzLogger* | m_pLog | No description | |
hzLogger* | m_pStats | No description | |
int | s_epollSocket | No description | |
hzMapS<hzIpaddr,hzIpConnex*> | udpClients | No description |