NCBI C++ ToolKit
|
Search Toolkit Book for CPSG_Queue::SImpl
#include "psg_client_impl.hpp"
(Private to src/objtools/pubseq_gateway/client
.)
Classes | |
class | CService |
Public Member Functions | |
SImpl (const string &service) | |
bool | SendRequest (shared_ptr< CPSG_Request > request, CDeadline deadline) |
shared_ptr< CPSG_Reply > | SendRequestAndGetReply (shared_ptr< CPSG_Request > request, CDeadline deadline) |
bool | WaitForEvents (CDeadline deadline) |
bool | RejectsRequests () const |
void | SetRequestFlags (CPSG_Request::TFlags request_flags) |
void | SetUserArgs (SPSG_UserArgs user_args) |
Static Public Member Functions | |
static TApiLock | GetApiLock () |
Public Attributes | |
shared_ptr< TPSG_Queue > | queue |
Private Member Functions | |
string | x_GetAbsPathRef (shared_ptr< const CPSG_Request > user_request, const CPSG_Request::TFlags &flags, bool raw) |
Private Attributes | |
CService | m_Service |
CPSG_Request::TFlags | m_RequestFlags = CPSG_Request::eDefaultFlags |
SThreadSafe< SPSG_UserArgsBuilder > | m_UserArgsBuilder |
Definition at line 117 of file psg_client_impl.hpp.
Definition at line 712 of file psg_client.cpp.
Definition at line 131 of file psg_client_impl.hpp.
References CPSG_Queue::SImpl::CService::GetMap().
Referenced by CPSG_Queue::GetApiLock().
|
inline |
Definition at line 127 of file psg_client_impl.hpp.
References CPSG_Queue::SImpl::CService::ioc, m_Service, and SPSG_IoCoordinator::RejectsRequests().
bool CPSG_Queue::SImpl::SendRequest | ( | shared_ptr< CPSG_Request > | request, |
CDeadline | deadline | ||
) |
Definition at line 990 of file psg_client.cpp.
References _ASSERT, and CPSG_Queue::SendRequestAndGetReply().
shared_ptr< CPSG_Reply > CPSG_Queue::SImpl::SendRequestAndGetReply | ( | shared_ptr< CPSG_Request > | request, |
CDeadline | deadline | ||
) |
Definition at line 952 of file psg_client.cpp.
References _ASSERT, CPSG_Request::eBlob, SPSG_StatsCounters::eRequest, CPSG_Queue::SImpl::CService::ioc, m_RequestFlags, m_Service, NCBI_THROW, SPSG_IoCoordinator::params, queue, r(), stats, and x_GetAbsPathRef().
|
inline |
Definition at line 128 of file psg_client_impl.hpp.
References m_RequestFlags.
|
inline |
Definition at line 129 of file psg_client_impl.hpp.
References SThreadSafe< TType >::GetLock(), and m_UserArgsBuilder.
Definition at line 1002 of file psg_client.cpp.
References _ASSERT.
|
private |
Definition at line 748 of file psg_client.cpp.
References _ASSERT, CPSG_Request::fIncludeHUP, flags, and s_GetOtherArgs().
Referenced by SendRequestAndGetReply().
|
private |
Definition at line 155 of file psg_client_impl.hpp.
Referenced by SendRequestAndGetReply(), and SetRequestFlags().
|
private |
Definition at line 154 of file psg_client_impl.hpp.
Referenced by RejectsRequests(), and SendRequestAndGetReply().
|
private |
Definition at line 156 of file psg_client_impl.hpp.
Referenced by SetUserArgs().
shared_ptr<TPSG_Queue> CPSG_Queue::SImpl::queue |
Definition at line 119 of file psg_client_impl.hpp.
Referenced by SendRequestAndGetReply().