1 #ifndef NCBI_CACHED_TAXON3_HPP
2 #define NCBI_CACHED_TAXON3_HPP
61 protected CCache<string, CRef<CTaxon3_reply> >
86 virtual void Init(
void);
88 virtual void Init(
const STimeout* timeout,
unsigned reconnect_attempts=5);
ESerialDataFormat m_eDataFormat
virtual const string & GetLastError() const
void SetLastError(const char *err_msg)
const char * m_pchService
unsigned m_nReconnectAttempts
AutoPtr< ITaxon3 > m_taxon
The cached taxon does not own the taxon.
This stream exchanges data with a named service, in a constraint that the service is implemented as o...
virtual CRef< CTaxon3_reply > SendRequest(const CTaxon3_request &request)=0
virtual CRef< CTaxon3_reply > SendOrgRefList(const vector< CRef< COrg_ref > > &list, COrg_ref::fOrgref_parts result_parts=COrg_ref::eOrgref_default, fT3reply_parts t3result_parts=eT3reply_default)=0
#define NCBI_USER_THROW(message)
Throw a quick-and-dirty runtime exception of type 'CException' with the given error message and error...
ESerialDataFormat
Data file format.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_TAXON3_EXPORT
const struct ncbi::grid::netcache::search::fields::KEY key
The NCBI C++ generic cache template.