NCBI C++ ToolKit
Classes | Macros | Typedefs | Functions | Variables
reader_service.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbi_param.hpp>
#include <corelib/ncbi_config.hpp>
#include <objtools/data_loaders/genbank/impl/reader_service.hpp>
#include <objtools/data_loaders/genbank/reader_service_params.h>
#include <objtools/data_loaders/genbank/reader.hpp>
#include <corelib/ncbitime.hpp>
#include <corelib/ncbithr.hpp>
#include <connect/ncbi_socket.hpp>
#include <cmath>
+ Include dependency graph for reader_service.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  ConnInfoDeleter2
 
struct  SServerScanInfo
 
struct  ConnNetInfoDeleter
 

Macros

#define DEFAULT_TIMEOUT   20
 
#define DEFAULT_OPEN_TIMEOUT   5
 
#define DEFAULT_OPEN_TIMEOUT_MAX   30
 
#define DEFAULT_OPEN_TIMEOUT_MULTIPLIER   1.5
 
#define DEFAULT_OPEN_TIMEOUT_INCREMENT   0
 

Typedefs

typedef CReader::CDebugPrinter CDebugPrinter
 

Functions

 NCBI_PARAM_DECL (int, GENBANK, CONN_DEBUG)
 
 NCBI_PARAM_DEF_EX (int, GENBANK, CONN_DEBUG, 0, eParam_NoThread, GENBANK_CONN_DEBUG)
 
static int s_GetDebugLevel (void)
 
static void s_ScanInfoReset (void *data)
 
static void s_ScanInfoCleanup (void *data)
 
static const SSERV_Infos_ScanInfoGetNextInfo (void *data, SERV_ITER iter)
 

Variables

static CIncreasingTime::SAllParams s_OpenTimeoutParams
 

Macro Definition Documentation

◆ DEFAULT_OPEN_TIMEOUT

#define DEFAULT_OPEN_TIMEOUT   5

Definition at line 47 of file reader_service.cpp.

◆ DEFAULT_OPEN_TIMEOUT_INCREMENT

#define DEFAULT_OPEN_TIMEOUT_INCREMENT   0

Definition at line 50 of file reader_service.cpp.

◆ DEFAULT_OPEN_TIMEOUT_MAX

#define DEFAULT_OPEN_TIMEOUT_MAX   30

Definition at line 48 of file reader_service.cpp.

◆ DEFAULT_OPEN_TIMEOUT_MULTIPLIER

#define DEFAULT_OPEN_TIMEOUT_MULTIPLIER   1.5

Definition at line 49 of file reader_service.cpp.

◆ DEFAULT_TIMEOUT

#define DEFAULT_TIMEOUT   20

Definition at line 46 of file reader_service.cpp.

Typedef Documentation

◆ CDebugPrinter

Definition at line 75 of file reader_service.cpp.

Function Documentation

◆ NCBI_PARAM_DECL()

NCBI_PARAM_DECL ( int  ,
GENBANK  ,
CONN_DEBUG   
)

◆ NCBI_PARAM_DEF_EX()

NCBI_PARAM_DEF_EX ( int  ,
GENBANK  ,
CONN_DEBUG  ,
,
eParam_NoThread  ,
GENBANK_CONN_DEBUG   
)

◆ s_GetDebugLevel()

static int s_GetDebugLevel ( void  )
static

◆ s_ScanInfoCleanup()

static void s_ScanInfoCleanup ( void *  data)
static

Definition at line 150 of file reader_service.cpp.

References data, and CObject::RemoveReference().

Referenced by CReaderServiceConnector::Connect().

◆ s_ScanInfoGetNextInfo()

static const SSERV_Info* s_ScanInfoGetNextInfo ( void *  data,
SERV_ITER  iter 
)
static

◆ s_ScanInfoReset()

static void s_ScanInfoReset ( void *  data)
static

Definition at line 143 of file reader_service.cpp.

References data, and SServerScanInfo::Reset().

Referenced by CReaderServiceConnector::Connect().

Variable Documentation

◆ s_OpenTimeoutParams

CIncreasingTime::SAllParams s_OpenTimeoutParams
static
Modified on Wed Jul 17 13:22:05 2024 by modify_doxy.py rev. 669887