NCBI C++ ToolKit
Public Member Functions | Private Attributes | List of all members
CBDBEnvKeeperConnectionFactory Class Reference

Search Toolkit Book for CBDBEnvKeeperConnectionFactory

+ Inheritance diagram for CBDBEnvKeeperConnectionFactory:
+ Collaboration diagram for CBDBEnvKeeperConnectionFactory:

Public Member Functions

 CBDBEnvKeeperConnectionFactory (CBDBEnvKeeperServer *server)
 
IServer_ConnectionHandlerCreate (void)
 
- Public Member Functions inherited from IServer_ConnectionFactory
virtual ~IServer_ConnectionFactory ()
 
virtual EListenAction OnFailure (unsigned short *)
 Return desired action if the port, mentioned in AddListener is busy. More...
 

Private Attributes

CBDBEnvKeeperServerm_Server
 

Additional Inherited Members

- Public Types inherited from IServer_ConnectionFactory
enum  EListenAction { eLAFail = 0 , eLAIgnore = 1 , eLARetry = 2 }
 What to do if the port is busy. More...
 

Detailed Description

Definition at line 140 of file bdb_env_keeper.cpp.

Constructor & Destructor Documentation

◆ CBDBEnvKeeperConnectionFactory()

CBDBEnvKeeperConnectionFactory::CBDBEnvKeeperConnectionFactory ( CBDBEnvKeeperServer server)
inline

Definition at line 143 of file bdb_env_keeper.cpp.

Member Function Documentation

◆ Create()

IServer_ConnectionHandler* CBDBEnvKeeperConnectionFactory::Create ( void  )
inlinevirtual
Returns
a new instance of handler for connection

Implements IServer_ConnectionFactory.

Definition at line 147 of file bdb_env_keeper.cpp.

References m_Server.

Member Data Documentation

◆ m_Server

CBDBEnvKeeperServer* CBDBEnvKeeperConnectionFactory::m_Server
private

Definition at line 151 of file bdb_env_keeper.cpp.

Referenced by Create().


The documentation for this class was generated from the following file:
Modified on Wed Apr 17 13:08:28 2024 by modify_doxy.py rev. 669887