NCBI C++ ToolKit
Classes | Macros | Functions | Variables
bdb_env_keeper.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbiapp.hpp>
#include <corelib/ncbiargs.hpp>
#include <corelib/ncbienv.hpp>
#include <corelib/ncbi_system.hpp>
#include <connect/ncbi_conn_stream.hpp>
#include <connect/ncbi_core_cxx.hpp>
#include <connect/ncbi_socket.hpp>
#include <connect/ncbi_util.h>
#include <connect/server.hpp>
#include <db/bdb/bdb_util.hpp>
#include <db/bdb/bdb_env.hpp>
#include <corelib/ncbi_process.hpp>
#include <signal.h>
+ Include dependency graph for bdb_env_keeper.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CBDBEnvKeeperServer
 Main server class. More...
 
class  CBDBEnvKeeperConnectionHandler
 Actual event (command) responder (session state machine) More...
 
class  CBDBEnvKeeperConnectionFactory
 
class  CBDBEnvKeeperApp
 

Macros

#define BDB_ENV_KEEPER_VERSION   "0.1.1"
 
#define BDB_ENV_KEEPER_FULL_VERSION
 

Functions

static string s_ReadStrFromBUF (BUF buf)
 
void Server_SignalHandler (int signum)
 
int main (int argc, const char *argv[])
 

Variables

static CBDBEnvKeeperServers_server = 0
 
static STimeout kAcceptTimeout = { 1, 0 }
 
 USING_NCBI_SCOPE
 

Macro Definition Documentation

◆ BDB_ENV_KEEPER_FULL_VERSION

#define BDB_ENV_KEEPER_FULL_VERSION
Value:
"NCBI BDB Env keeper server version " BDB_ENV_KEEPER_VERSION \
" build " __DATE__ " " __TIME__
#define BDB_ENV_KEEPER_VERSION

Definition at line 57 of file bdb_env_keeper.cpp.

◆ BDB_ENV_KEEPER_VERSION

#define BDB_ENV_KEEPER_VERSION   "0.1.1"

Definition at line 55 of file bdb_env_keeper.cpp.

Function Documentation

◆ main()

int main ( int  argc,
const char *  argv[] 
)

Definition at line 261 of file bdb_env_keeper.cpp.

References CNcbiApplicationAPI::AppMain().

◆ s_ReadStrFromBUF()

static string s_ReadStrFromBUF ( BUF  buf)
static

◆ Server_SignalHandler()

void Server_SignalHandler ( int  signum)

Variable Documentation

◆ kAcceptTimeout

STimeout kAcceptTimeout = { 1, 0 }
static

Definition at line 175 of file bdb_env_keeper.cpp.

Referenced by CBDBEnvKeeperApp::Run().

◆ s_server

CBDBEnvKeeperServer* s_server = 0
static

◆ USING_NCBI_SCOPE

USING_NCBI_SCOPE

Definition at line 259 of file bdb_env_keeper.cpp.

Modified on Tue May 21 11:01:18 2024 by modify_doxy.py rev. 669887