Defined in file: hzIpServer.h

Constructors/Detructors

hzIpServer*hzIpServer(void)
NULL-BASIS~hzIpServer(void)

Public Methods:

hzEcodeActivate(void)
hzEcodeAddPortHTTP(hzTcpCode(*)(hzHttpEvent*) OnHttpReq, unsigned int nTimeout, unsigned int nPort, unsigned int nMaxClients, bool bSecure)
hzEcodeAddPortTCP(hzTcpCode(*)(hzChain&,hzIpConnex*) OnIngress, hzTcpCode(*)(hzIpConnex*) OnConnect, hzTcpCode(*)(hzIpConnex*) OnDisconn, unsigned int nTimeout, unsigned int nPort, unsigned int nMaxClients, bool bSecure)
hzEcodeAddPortUDP(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)
voidHalt(void)
hzEcodeProxyTo(hzIpConnex* pConn, unsigned int nPort)
voidServe(void)** Check for hangups and other connection errors
voidServeRequests(void)
voidServeResponses(void)
voidServeX(void)
voidSetLogger(hzLogger* pLog)
voidSetStats(hzLogger* pStats)
voidSetTimeout(unsigned int Timeout)
hzEcode_nonblock(unsigned int nSock)

Member Variables:

hzMapS<unsigned int,hzIpConnex*>ConnInErrorNo description
hzList<hzIpListen*>m_LSNo description
epoll_event*m_arEventsNo description
boolm_bActiveNo description
boolm_bShutdownNo description
unsigned intm_eErrorNo description
hzMapS<unsigned int,hzIpListen*>m_mapLSNo description
intm_nCliLenNo description
unsigned intm_nCurrentClientsNo description
unsigned intm_nLoopNo description
unsigned intm_nMaxClientsNo description
unsigned intm_nMaxSocketNo description
unsigned intm_nTimeoutNo description
hzLogger*m_pLogNo description
hzLogger*m_pStatsNo description
ints_epollSocketNo description
hzMapS<hzIpaddr,hzIpConnex*>udpClientsNo description