RPC_CLIENT Class Reference

#include <gui_rpc_client.h>

List of all members.

Public Member Functions

int send_request (const char *)
int get_reply (char *&)
 RPC_CLIENT ()
 ~RPC_CLIENT ()
int init (const char *host, int port=0)
int init_asynch (const char *host, double timeout, bool retry, int port=GUI_RPC_PORT)
int init_poll ()
void close ()
int authorize (const char *passwd)
int exchange_versions (VERSION_INFO &)
int get_state (CC_STATE &)
int get_results (RESULTS &)
int get_file_transfers (FILE_TRANSFERS &)
int get_simple_gui_info (SIMPLE_GUI_INFO &)
int get_project_status (PROJECTS &)
int get_all_projects_list (ALL_PROJECTS_LIST &)
int get_disk_usage (DISK_USAGE &)
int show_graphics (const char *project, const char *result_name, int graphics_mode, DISPLAY_INFO &)
int project_op (PROJECT &, const char *op)
int set_run_mode (int mode, double duration)
int set_network_mode (int mode, double duration)
int get_screensaver_tasks (int &suspend_reason, RESULTS &)
int run_benchmarks ()
int set_proxy_settings (GR_PROXY_INFO &)
int get_proxy_settings (GR_PROXY_INFO &)
int get_messages (int seqno, MESSAGES &)
int file_transfer_op (FILE_TRANSFER &, const char *)
int result_op (RESULT &, const char *)
int get_host_info (HOST_INFO &)
int quit ()
int acct_mgr_info (ACCT_MGR_INFO &)
const char * mode_name (int mode)
int get_statistics (PROJECTS &)
int network_available ()
int get_project_init_status (PROJECT_INIT_STATUS &pis)
int get_project_config (std::string url)
int get_project_config_poll (PROJECT_CONFIG &)
int lookup_account (ACCOUNT_IN &)
int lookup_account_poll (ACCOUNT_OUT &)
int create_account (ACCOUNT_IN &)
int create_account_poll (ACCOUNT_OUT &)
int project_attach (const char *url, const char *auth, const char *project_name)
int project_attach_from_file ()
int project_attach_poll (PROJECT_ATTACH_REPLY &)
int acct_mgr_rpc (const char *url, const char *name, const char *passwd, bool use_config_file=false)
int acct_mgr_rpc_poll (ACCT_MGR_RPC_REPLY &)
int get_newer_version (std::string &)
int read_global_prefs_override ()
int read_cc_config ()
int get_cc_status (CC_STATUS &)
int get_global_prefs_file (std::string &)
int get_global_prefs_working (std::string &)
int get_global_prefs_working_struct (GLOBAL_PREFS &, GLOBAL_PREFS_MASK &)
int get_global_prefs_override (std::string &)
int set_global_prefs_override (std::string &)
int get_global_prefs_override_struct (GLOBAL_PREFS &, GLOBAL_PREFS_MASK &)
int set_global_prefs_override_struct (GLOBAL_PREFS &, GLOBAL_PREFS_MASK &)
int set_debts (std::vector< PROJECT >)

Public Attributes

int sock
double start_time
double timeout
bool retry
sockaddr_in addr


Constructor & Destructor Documentation

RPC_CLIENT::RPC_CLIENT (  ) 

RPC_CLIENT::~RPC_CLIENT (  ) 

Here is the call graph for this function:


Member Function Documentation

int RPC_CLIENT::send_request ( const char *  p  ) 

Here is the caller graph for this function:

int RPC_CLIENT::get_reply ( char *&  mbuf  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::init ( const char *  host,
int  port = 0 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::init_asynch ( const char *  host,
double  timeout,
bool  retry,
int  port = GUI_RPC_PORT 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::init_poll (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void RPC_CLIENT::close (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::authorize ( const char *  passwd  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::exchange_versions ( VERSION_INFO server  ) 

Here is the call graph for this function:

int RPC_CLIENT::get_state ( CC_STATE state  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::get_results ( RESULTS t  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::get_file_transfers ( FILE_TRANSFERS t  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::get_simple_gui_info ( SIMPLE_GUI_INFO sgi  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::get_project_status ( PROJECTS p  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::get_all_projects_list ( ALL_PROJECTS_LIST pl  ) 

Here is the call graph for this function:

int RPC_CLIENT::get_disk_usage ( DISK_USAGE du  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::show_graphics ( const char *  project,
const char *  result_name,
int  graphics_mode,
DISPLAY_INFO di 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::project_op ( PROJECT project,
const char *  op 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::set_run_mode ( int  mode,
double  duration 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::set_network_mode ( int  mode,
double  duration 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::get_screensaver_tasks ( int &  suspend_reason,
RESULTS t 
)

Here is the call graph for this function:

int RPC_CLIENT::run_benchmarks (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::set_proxy_settings ( GR_PROXY_INFO pi  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::get_proxy_settings ( GR_PROXY_INFO p  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::get_messages ( int  seqno,
MESSAGES msgs 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::file_transfer_op ( FILE_TRANSFER ft,
const char *  op 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::result_op ( RESULT result,
const char *  op 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::get_host_info ( HOST_INFO h  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::quit (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::acct_mgr_info ( ACCT_MGR_INFO ami  ) 

Here is the call graph for this function:

const char * RPC_CLIENT::mode_name ( int  mode  ) 

Here is the caller graph for this function:

int RPC_CLIENT::get_statistics ( PROJECTS p  ) 

Here is the call graph for this function:

int RPC_CLIENT::network_available (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::get_project_init_status ( PROJECT_INIT_STATUS pis  ) 

Here is the call graph for this function:

int RPC_CLIENT::get_project_config ( std::string  url  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::get_project_config_poll ( PROJECT_CONFIG pc  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::lookup_account ( ACCOUNT_IN ai  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::lookup_account_poll ( ACCOUNT_OUT ao  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::create_account ( ACCOUNT_IN ai  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::create_account_poll ( ACCOUNT_OUT ao  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::project_attach ( const char *  url,
const char *  auth,
const char *  project_name 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::project_attach_from_file (  ) 

Here is the call graph for this function:

int RPC_CLIENT::project_attach_poll ( PROJECT_ATTACH_REPLY reply  ) 

Here is the call graph for this function:

int RPC_CLIENT::acct_mgr_rpc ( const char *  url,
const char *  name,
const char *  passwd,
bool  use_config_file = false 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::acct_mgr_rpc_poll ( ACCT_MGR_RPC_REPLY r  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::get_newer_version ( std::string &  version  ) 

Here is the call graph for this function:

int RPC_CLIENT::read_global_prefs_override (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::read_cc_config (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::get_cc_status ( CC_STATUS status  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int RPC_CLIENT::get_global_prefs_file ( std::string &   ) 

int RPC_CLIENT::get_global_prefs_working ( std::string &   ) 

Here is the caller graph for this function:

int RPC_CLIENT::get_global_prefs_working_struct ( GLOBAL_PREFS prefs,
GLOBAL_PREFS_MASK mask 
)

Here is the call graph for this function:

int RPC_CLIENT::get_global_prefs_override ( std::string &   ) 

Here is the caller graph for this function:

int RPC_CLIENT::set_global_prefs_override ( std::string &   ) 

Here is the caller graph for this function:

int RPC_CLIENT::get_global_prefs_override_struct ( GLOBAL_PREFS prefs,
GLOBAL_PREFS_MASK mask 
)

Here is the call graph for this function:

int RPC_CLIENT::set_global_prefs_override_struct ( GLOBAL_PREFS prefs,
GLOBAL_PREFS_MASK mask 
)

Here is the call graph for this function:

int RPC_CLIENT::set_debts ( std::vector< PROJECT  ) 

Here is the caller graph for this function:


Member Data Documentation

sockaddr_in RPC_CLIENT::addr


The documentation for this class was generated from the following files:

Generated on Mon Oct 6 10:47:00 2008 for BOINC by  doxygen 1.5.6