GUI_RPC_CONN Class Reference

#include <gui_rpc_server.h>

Collaboration diagram for GUI_RPC_CONN:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GUI_RPC_CONN (int)
 ~GUI_RPC_CONN ()
int handle_rpc ()
void handle_auth1 (MIOFILE &)
int handle_auth2 (char *, MIOFILE &)
void handle_get_project_config (char *buf, MIOFILE &fout)
void handle_get_project_config_poll (char *, MIOFILE &fout)
void handle_lookup_account (char *buf, MIOFILE &fout)
void handle_lookup_account_poll (char *, MIOFILE &fout)
void handle_create_account (char *buf, MIOFILE &fout)
void handle_create_account_poll (char *, MIOFILE &fout)

Public Attributes

int sock
char nonce [256]
bool auth_needed
 if true, don't allow operations other than authentication
bool got_auth1
bool got_auth2
bool sent_unauthorized
bool is_local
 connection is from local host
int au_ss_state
int au_mgr_state
GUI_HTTP gui_http
GET_PROJECT_CONFIG_OP get_project_config_op
LOOKUP_ACCOUNT_OP lookup_account_op
CREATE_ACCOUNT_OP create_account_op


Constructor & Destructor Documentation

GUI_RPC_CONN::GUI_RPC_CONN ( int  s  ) 

GUI_RPC_CONN::~GUI_RPC_CONN (  ) 

Here is the call graph for this function:


Member Function Documentation

int GUI_RPC_CONN::handle_rpc (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void GUI_RPC_CONN::handle_auth1 ( MIOFILE fout  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int GUI_RPC_CONN::handle_auth2 ( char *  buf,
MIOFILE fout 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void GUI_RPC_CONN::handle_get_project_config ( char *  buf,
MIOFILE fout 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void GUI_RPC_CONN::handle_get_project_config_poll ( char *  ,
MIOFILE fout 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void GUI_RPC_CONN::handle_lookup_account ( char *  buf,
MIOFILE fout 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void GUI_RPC_CONN::handle_lookup_account_poll ( char *  ,
MIOFILE fout 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void GUI_RPC_CONN::handle_create_account ( char *  buf,
MIOFILE fout 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void GUI_RPC_CONN::handle_create_account_poll ( char *  ,
MIOFILE fout 
)

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

if true, don't allow operations other than authentication

keep track of whether we've got the 2 authentication msgs; don't accept more than one of each (to prevent DoS)

we've send one <unauthorized>. On next auth failure, disconnect

connection is from local host


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

Generated on Mon Oct 6 10:45:23 2008 for BOINC by  doxygen 1.5.6