A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/connection__pool_8hpp_source.html below:

NCBI C++ ToolKit: src/connect/connection_pool.hpp Source File

1 #ifndef CONNECT___CONNECTION_POOL__HPP 2 #define CONNECT___CONNECTION_POOL__HPP 72  void SetAllActive

(

const

vector<CSocketAPI::SPoll>& polls);

73  void SetAllActive

(

const

vector<IServer_ConnectionBase*>& conns);

82

vector<IServer_ConnectionBase*>& timer_requests,

84

vector<IServer_ConnectionBase*>& revived_conns,

85

vector<IServer_ConnectionBase*>& to_close_conns,

86

vector<IServer_ConnectionBase*>& to_delete_conns);

static CS_CONNECTION * conn

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

void StartListening(void)

void CloseConnection(TConnBase *conn)

Close connection as if it was initiated by server (not by client).

CServer_Listener TListener

void Erase(void)

Erase all connections.

void SetAllActive(const vector< CSocketAPI::SPoll > &polls)

unsigned int m_MaxConnections

CServer_Connection TConnection

CServer_ConnectionPool(unsigned max_connections)

void SetMaxConnections(unsigned max_connections)

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)

vector< unsigned short > GetListenerPorts(void)

Provides a list of ports on which the server is listening.

CTrigger m_ControlTrigger

~CServer_ConnectionPool()

bool Add(TConnBase *conn, EServerConnType type)

void Remove(TConnBase *conn)

void SetConnType(TConnBase *conn, EServerConnType type)

Guard connection from out-of-order packet processing by pulling eActiveSocket's from poll vector Rese...

bool RemoveListener(unsigned short port)

void x_UpdateExpiration(TConnBase *conn)

vector< unsigned short > m_ListenerPortsToStop

IServer_ConnectionBase TConnBase

void PingControlConnection(void)

Internal header for threaded server connections.


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