Go to the SVN repository for this file.
1 #ifndef CONNECT_SERVICES___NETSERVICE_API__HPP 2 #define CONNECT_SERVICES___NETSERVICE_API__HPP 59 doubleGetRate()
const;
79 voidSetCommunicationTimeout(
const STimeout& to);
80 const STimeout& GetCommunicationTimeout()
const;
89 const string& GetServiceName()
const;
100 CNetServerGetServer(
unsignedhost,
unsigned shortport);
101 CNetServerGetServer(
const string& host,
unsigned shortport);
112EIterationMode
mode= eSortByLoad);
114 boolIsLoadBalanced()
const;
117 boolmultiline_output =
false);
119 voidExecOnAllServers(
const string&
cmd);
126eMultilineOutput_NetCacheStyle
129 voidPrintCmdOutput(
const string&
cmd,
131ECmdOutputStyle output_style,
141 #ifdef NCBI_GRID_XSITE_CONN_SUPPORT 146 static CNetServiceCreate(
const string& api_name,
const string& service_name,
const string& client_name);
void StickToServer(const string &host, unsigned short port)
function< bool(const string &, CNetServer)> TEventHandler
static bool IsUsingXSiteProxy()
@ eMultilineOutput_NoHeaders
static CNetService Create(const string &api_name, const string &service_name, const string &client_name)
static void AllowXSiteConnections()
This class is for use by the grid_cli utility only.
virtual CJsonNode ExecOn(CNetServer server)=0
virtual ~INetServerFinder()
virtual bool Consider(CNetServer server)=0
CVect2< NCBI_PROMOTE(int,U) > operator*(int v1, const CVect2< U > &v2)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
#define NCBI_XCONNECT_EXPORT
const struct ncbi::grid::netcache::search::fields::KEY key
#define NCBI_NET_COMPONENT(component)
S & operator--(CNetRef< S > &r, int)
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.
void g_AppendClientIPSessionIDHitID(string &cmd)
CNetService g_DiscoverService(const string &s, const string &c)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4