NCBI C++ ToolKit
Classes | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
SPSG_DiscoveryImpl Struct Reference

Search Toolkit Book for SPSG_DiscoveryImpl

#include "psg_client_transport.hpp"
(Private to src/objtools/pubseq_gateway/client.)

+ Inheritance diagram for SPSG_DiscoveryImpl:
+ Collaboration diagram for SPSG_DiscoveryImpl:

Classes

struct  SNoServers
 

Public Member Functions

 SPSG_DiscoveryImpl (CServiceDiscovery service, shared_ptr< SPSG_Stats > stats, const SPSG_Params &params, SPSG_Servers::TTS &servers, SPSG_AsyncQueuesRef queues_ref)
 

Protected Member Functions

void OnShutdown (uv_async_t *)
 
void OnTimer (uv_timer_t *handle)
 
void OnExecute (uv_loop_t &loop)
 
void AfterExecute ()
 

Private Attributes

SPSG_Params m_Params
 
SNoServers m_NoServers
 
CServiceDiscovery m_Service
 
shared_ptr< SPSG_Statsm_Stats
 
SPSG_Servers::TTSm_Servers
 
SPSG_AsyncQueuesRef m_QueuesRef
 
SPSG_ThrottleParams m_ThrottleParams
 

Detailed Description

Definition at line 1114 of file psg_client_transport.hpp.

Constructor & Destructor Documentation

◆ SPSG_DiscoveryImpl()

SPSG_DiscoveryImpl::SPSG_DiscoveryImpl ( CServiceDiscovery  service,
shared_ptr< SPSG_Stats stats,
const SPSG_Params params,
SPSG_Servers::TTS servers,
SPSG_AsyncQueuesRef  queues_ref 
)
inline

Definition at line 1116 of file psg_client_transport.hpp.

Member Function Documentation

◆ AfterExecute()

void SPSG_DiscoveryImpl::AfterExecute ( )
protected

Definition at line 1475 of file psg_client_transport.cpp.

◆ OnExecute()

void SPSG_DiscoveryImpl::OnExecute ( uv_loop_t &  loop)
inlineprotected

Definition at line 1128 of file psg_client_transport.hpp.

References m_Stats.

◆ OnShutdown()

void SPSG_DiscoveryImpl::OnShutdown ( uv_async_t *  )
protected

Definition at line 1463 of file psg_client_transport.cpp.

References SPSG_Throttling::m_Stats.

◆ OnTimer()

void SPSG_DiscoveryImpl::OnTimer ( uv_timer_t *  handle)
protected

Member Data Documentation

◆ m_NoServers

SNoServers SPSG_DiscoveryImpl::m_NoServers
private

Definition at line 1146 of file psg_client_transport.hpp.

◆ m_Params

SPSG_Params SPSG_DiscoveryImpl::m_Params
private

Definition at line 1145 of file psg_client_transport.hpp.

◆ m_QueuesRef

SPSG_AsyncQueuesRef SPSG_DiscoveryImpl::m_QueuesRef
private

Definition at line 1150 of file psg_client_transport.hpp.

◆ m_Servers

SPSG_Servers::TTS& SPSG_DiscoveryImpl::m_Servers
private

Definition at line 1149 of file psg_client_transport.hpp.

◆ m_Service

CServiceDiscovery SPSG_DiscoveryImpl::m_Service
private

Definition at line 1147 of file psg_client_transport.hpp.

◆ m_Stats

shared_ptr<SPSG_Stats> SPSG_DiscoveryImpl::m_Stats
private

Definition at line 1148 of file psg_client_transport.hpp.

Referenced by OnExecute().

◆ m_ThrottleParams

SPSG_ThrottleParams SPSG_DiscoveryImpl::m_ThrottleParams
private

Definition at line 1151 of file psg_client_transport.hpp.


The documentation for this struct was generated from the following files:
Modified on Mon May 20 05:03:07 2024 by modify_doxy.py rev. 669887