NCBI C++ ToolKit
reader_params.h
Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef GBLOADER__READER_PARAMS__H_INCLUDED
2 #define GBLOADER__READER_PARAMS__H_INCLUDED
3 
4 /* $Id: reader_params.h 48090 2010-12-06 17:47:25Z vasilche $
5 * ===========================================================================
6 *
7 * PUBLIC DOMAIN NOTICE
8 * National Center for Biotechnology Information
9 *
10 * This software/database is a "United States Government Work" under the
11 * terms of the United States Copyright Act. It was written as part of
12 * the author's official duties as a United States Government employee and
13 * thus cannot be copyrighted. This software/database is freely available
14 * to the public for use. The National Library of Medicine and the U.S.
15 * Government have not placed any restriction on its use or reproduction.
16 *
17 * Although all reasonable efforts have been taken to ensure the accuracy
18 * and reliability of the software and data, the NLM and the U.S.
19 * Government do not and cannot warrant the performance or results that
20 * may be obtained by using this software or data. The NLM and the U.S.
21 * Government disclaim all warranties, express or implied, including
22 * warranties of performance, merchantability or fitness for any particular
23 * purpose.
24 *
25 * Please cite the author in any work or product based on this material.
26 *
27 * ===========================================================================
28 *
29 * Author: Eugene Vasilchenko
30 *
31 * File Description:
32 * GenBank reader common configuration parameters
33 *
34 * ===========================================================================
35 */
36 
37 /* Maximum number of simultaneous connection */
38 #define NCBI_GBLOADER_READER_PARAM_NUM_CONN "max_number_of_connections"
39 #define NCBI_GBLOADER_READER_PARAM2_NUM_CONN "no_conn"
40 /* Whether to open first connection immediately or not (default: true) */
41 #define NCBI_GBLOADER_READER_PARAM_PREOPEN "preopen"
42 /* Number of retries on errors */
43 #define NCBI_GBLOADER_READER_PARAM_RETRY_COUNT "retry"
44 
45 /* Number of sequential connect errors to wait between connection attempts */
46 #define NCBI_GBLOADER_READER_PARAM_WAIT_TIME_ERRORS "wait_time_errors"
47 /* Initial wait between connection attempts */
48 #define NCBI_GBLOADER_READER_PARAM_WAIT_TIME "wait_time"
49 /* Open timeout multiplier in case of errors */
50 #define NCBI_GBLOADER_READER_PARAM_WAIT_TIME_MULTIPLIER "wait_time_multiplier"
51 /* Open timeout increment in case of errors */
52 #define NCBI_GBLOADER_READER_PARAM_WAIT_TIME_INCREMENT "wait_time_increment"
53 /* Maximal open timeout of network connections in seconds */
54 #define NCBI_GBLOADER_READER_PARAM_WAIT_TIME_MAX "wait_time_max"
55 
56 #endif
Modified on Wed May 15 15:10:43 2024 by modify_doxy.py rev. 669887