NCBI C++ ToolKit
|
#include "srv_connections.hpp"
#include "json_over_uttp.hpp"
#include <functional>
#include <memory>
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
class | CNetServiceIterator |
class | INetServerFinder |
class | CNetServerPool |
class | CNetService |
class | IExecToJson |
This class is for use by the grid_cli utility only. More... | |
Functions | |
CJsonNode | g_ExecToJson (IExecToJson &exec_to_json, CNetService service, CNetService::EIterationMode iteration_mode=CNetService::eSortByLoad) |
This function is for use by the grid_cli utility only. More... | |
CNetService | g_DiscoverService (const string &s, const string &c) |
void | g_AppendClientIPSessionIDHitID (string &cmd) |
void g_AppendClientIPSessionIDHitID | ( | string & | cmd | ) |
Definition at line 1474 of file netservice_api.cpp.
References cmd, g_AppendClientIPAndSessionID(), g_AppendHitID(), and CDiagContext::GetRequestContext().
Referenced by CNetScheduleAdmin::CancelAllJobs(), CNetScheduleSubmitter::CancelJob(), CNetScheduleSubmitter::CancelJobGroup(), CExecAndParseStructuredOutput::CExecAndParseStructuredOutput(), CNetScheduleExecutor::ChangePreferredAffinities(), SNetScheduleJobReaderImpl::CImpl::CheckEntry(), SNetScheduleExecutorImpl::ClaimNewPreferredAffinity(), CNetScheduleNotificationHandler::CmdAppendTimeoutGroupAndClientInfo(), CNetScheduleAdmin::CreateQueue(), CNetScheduleAdmin::DeleteQueue(), CNetScheduleAdmin::DumpJob(), CNetScheduleAdmin::DumpQueue(), SNetScheduleSubmitterImpl::FinalizeRead(), g_GenericStatToJson(), g_ResumeNetSchedule(), g_SuspendNetSchedule(), CNetScheduleExecutor::GetJob(), CNetScheduleAPI::GetJobDetails(), SNetScheduleAPIImpl::GetJobStatus(), CNetScheduleAPI::GetProgressMsg(), CNetScheduleAdmin::GetQueueList(), SNetScheduleAPIImpl::GetQueueParams(), CNetServer::GetServerInfo(), CNetScheduleExecutor::JobDelayExpiration(), SNetScheduleExecutorImpl::MkSETAFFCmd(), CNetScheduleServerListener::OnConnected(), SNetScheduleAPIImpl::SServerParamsSync::operator()(), CNetScheduleAdmin::PrintConf(), CNetScheduleAdmin::PrintHealth(), CNetScheduleAdmin::PrintServerStatistics(), CNetScheduleAdmin::PrintServerVersion(), CNetScheduleExecutor::PutFailure(), CNetScheduleExecutor::PutProgressMsg(), CNetScheduleExecutor::PutResult(), CNetScheduleSubmitter::Read(), CNetScheduleAdmin::ReloadServerConfig(), CNetScheduleNotificationHandler::RequestJob(), CNetScheduleNotificationHandler::RequestJobWatching(), CNetScheduleExecutor::Reschedule(), SNetScheduleJobReaderImpl::CImpl::ReturnJob(), SNetScheduleExecutorImpl::ReturnJob(), s_MkQINFCmd(), CNetScheduleAdmin::ShutdownServer(), SQueueInfoToJson::SQueueInfoToJson(), CNetScheduleAdmin::StatusSnapshot(), CNetScheduleAdmin::SwitchToDrainMode(), and SNetScheduleAPIImpl::x_ClearNode().
|
inline |
Definition at line 168 of file netservice_api.hpp.
References CNetService::Create().
CJsonNode g_ExecToJson | ( | IExecToJson & | exec_to_json, |
CNetService | service, | ||
CNetService::EIterationMode | iteration_mode = CNetService::eSortByLoad |
||
) |
This function is for use by the grid_cli utility only.
Definition at line 1441 of file netservice_api.cpp.
References IExecToJson::ExecOn(), CNetServiceIterator::GetServer(), CNetService::IsLoadBalanced(), CNetService::Iterate(), CJsonNode::NewObjectNode(), and result.
Referenced by NAutomation::SNetServiceBase::ExecGetAddress(), NAutomation::SNetStorageService::ExecServerInfo(), g_ExecAnyCmdToJson(), g_QueueClassInfoToJson(), g_QueueInfoToJson(), g_ReconfAndReturnJson(), g_ServerInfoToJson(), CGridCommandLineInterfaceApp::PrintNetStorageServerInfo(), and CGridCommandLineInterfaceApp::ReconfigureNetStorageServer().