NCBI C++ ToolKit
|
Search Toolkit Book for CReaderAllocatedConnection
#include <objtools/data_loaders/genbank/reader.hpp>
Public Types | |
typedef CReader::TConn | TConn |
Public Member Functions | |
CReaderAllocatedConnection (CReaderRequestResult &result, CReader *reader) | |
~CReaderAllocatedConnection (void) | |
void | Release (void) |
void | Restart (void) |
bool | IsAllocated (void) const |
operator TConn (void) const | |
Private Member Functions | |
CReaderAllocatedConnection (const CReaderAllocatedConnection &) | |
void | operator= (CReaderAllocatedConnection &) |
Private Attributes | |
CReaderRequestResult * | m_Result |
CReader * | m_Reader |
TConn | m_Conn |
bool | m_Restart |
Definition at line 419 of file reader.hpp.
Definition at line 422 of file reader.hpp.
CReaderAllocatedConnection::CReaderAllocatedConnection | ( | CReaderRequestResult & | result, |
CReader * | reader | ||
) |
Definition at line 1437 of file reader.cpp.
References m_Conn, m_Reader, m_Result, NCBI_THROW, result, and CReader::x_AllocConnection().
CReaderAllocatedConnection::~CReaderAllocatedConnection | ( | void | ) |
Definition at line 1469 of file reader.cpp.
References _ASSERT, CReaderRequestResult::m_AllocatedConnection, m_Conn, m_Reader, m_Restart, m_Result, CReaderRequestResult::ReleaseNotLoadedBlobs(), and CReader::x_AbortConnection().
|
private |
|
inline |
|
inline |
Definition at line 434 of file reader.hpp.
References _ASSERT, IsAllocated(), and m_Conn.
|
private |
void CReaderAllocatedConnection::Release | ( | void | ) |
Definition at line 1487 of file reader.cpp.
References _ASSERT, CReaderRequestResult::GetRetryDelay(), CReaderRequestResult::m_AllocatedConnection, m_Conn, m_Reader, m_Result, min(), and CReader::x_ReleaseConnection().
void CReaderAllocatedConnection::Restart | ( | void | ) |
Definition at line 1481 of file reader.cpp.
References m_Restart.
|
private |
Definition at line 443 of file reader.hpp.
Referenced by CReaderAllocatedConnection(), operator TConn(), Release(), and ~CReaderAllocatedConnection().
|
private |
Definition at line 442 of file reader.hpp.
Referenced by CReaderAllocatedConnection(), Release(), and ~CReaderAllocatedConnection().
|
private |
Definition at line 444 of file reader.hpp.
Referenced by Restart(), and ~CReaderAllocatedConnection().
|
private |
Definition at line 441 of file reader.hpp.
Referenced by CReaderAllocatedConnection(), IsAllocated(), Release(), and ~CReaderAllocatedConnection().