![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cNetServer.Tests.h>
Public Attributes | |
cNetAddress | m_addr |
address and port of this server. Used by client to connect to me. More... | |
![]() | |
const char * | m_pszServerName |
Server type name. (not host name) More... | |
const bool | m_bAsyncEvents |
_WIN32 only. use async callbacks. More... | |
int | m_nMaxConnections |
total allowed incoming connections. More... | |
int | m_nMaxPerAddr |
max connections per host/address. More... | |
int | m_nMaxPerAddrUnresolved |
max unresolved protocol connections per host/address. More... | |
![]() | |
cNetServer & | m_server |
My top level cNetServer owner/parent. More... | |
cValueStatsRate< float > | m_TickLatency |
How long did the last OnTickSelect and OnTickClients take ? TIMESYS_t. More... | |
![]() | |
cStreamStat | m_StatOut |
cStreamStat | m_StatInp |
a unit testing framework for a cNetServer protocol(s).
GrayLib::cNetServerUnitTest::cNetServerUnitTest | ( | IProtocolFactory & | factory, |
cNetAddress | addr | ||
) |
bool GrayLib::cNetServerUnitTest::InitListenPorts | ( | ) |
bool GrayLib::cNetServerUnitTest::WaitForClientThread | ( | cThread * | pClientThread, |
TIMESYSD_t | nWaitMax = (30 * cTimeSys::k_FREQ) |
||
) |
Wait for the client thread in the test to disconnect or time is expired.
cNetAddress GrayLib::cNetServerUnitTest::m_addr |
address and port of this server. Used by client to connect to me.