Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCServer__ConnectionPool.html below:
NCBI C++ ToolKit: CServer_ConnectionPool Class Reference
Public Member Functions CServer_ConnectionPool (unsigned max_connections) ~CServer_ConnectionPool () void SetMaxConnections (unsigned max_connections) bool Add (TConnBase *conn, EServerConnType type) void Remove (TConnBase *conn) bool RemoveListener (unsigned short port) void PingControlConnection (void) void SetConnType (TConnBase *conn, EServerConnType type) Guard connection from out-of-order packet processing by pulling eActiveSocket's from poll vector Resets the expiration time as a bonus. More...
void SetAllActive (const vector< CSocketAPI::SPoll > &polls) void SetAllActive (const vector< IServer_ConnectionBase * > &conns) void CloseConnection (TConnBase *conn) Close connection as if it was initiated by server (not by client). More...
void Erase (void) Erase all connections. More...
bool GetPollAndTimerVec (vector< CSocketAPI::SPoll > &polls, vector< IServer_ConnectionBase * > &timer_requests, STimeout *timer_timeout, vector< IServer_ConnectionBase * > &revived_conns, vector< IServer_ConnectionBase * > &to_close_conns, vector< IServer_ConnectionBase * > &to_delete_conns) void StartListening (void) void StopListening (void) vector< unsigned short > GetListenerPorts (void) Provides a list of ports on which the server is listening. More...
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4