#include <RunToolClient.H>
Static Public Member Functions | |
static Tool_result | do_it (const Text &host, chars_seq *argv, LongId &fsroot, const Text &wd=DEFAULT_TOOL_WD, chars_seq *ev=NULL, std::ostream *report_out=NULL, std::ostream *value_out=NULL, std::ostream *report_err=NULL, std::ostream *value_err=NULL, Basics::mutex *mu=NULL, const Text &label="", const Text &stdin_name="") throw (SRPC::failure, FS::Failure) |
static void | get_info (const Text &host, Host_info &hinfo) throw (SRPC::failure) |
Static Private Member Functions | |
static void | init () throw (SRPC::failure) |
static void | ensure_init () throw (SRPC::failure) |
static void | send_relay_socket (Tool_Relay &r, SRPC *srpc) |
static void | send_vdir (LongId &fsroot, SRPC *srpc) |
Static Private Attributes | |
static pthread_once_t | init_block = PTHREAD_ONCE_INIT |
static MultiSRPC * | srpc_cache = NULL |
Friends | |
void | RunTool_init () |
Classes | |
struct | Host_info |
struct | Tool_result |
|
|
Definition at line 67 of file RunToolClient.C. References implementation_error, init_block, and RunTool_init. |
|
Definition at line 235 of file RunToolClient.C. References SRPC::enable_read_timeout(), SRPC::recv_float(), SRPC::recv_int(), SRPC::recv_Text(), RUN_TOOL_INFO, RUN_TOOL_INTERFACE_VERSION, SRPC::send_end(), and SRPC::start_call(). Referenced by main(), and RunToolHost(). |
|
Definition at line 73 of file RunToolClient.C. References Text::cchars(), VestaConfig::get(), VestaConfig::get_Text(), implementation_error, VestaConfig::failure::msg, NEW, RUN_TOOL_CONFIG_SECTION, and srpc_cache. Referenced by RunTool_init(). |
|
Definition at line 94 of file RunToolClient.C. References Tool_Relay::get_sockaddr(), and SRPC::send_socket(). |
|
Definition at line 101 of file RunToolClient.C. References VDirSurrogate::getNFSInfo(), TCP_sock::name_to_sockaddr(), SRPC::send_bytes(), and SRPC::send_socket(). |
|
Definition at line 61 of file RunToolClient.C. Referenced by ensure_init(). |
|
Definition at line 43 of file RunToolClient.C. Referenced by ensure_init(). |
|
Definition at line 45 of file RunToolClient.C. Referenced by init(). |