server_classes::RPC Class Reference

List of all members.

Public Member Functions

def __init__
def rpc_stop_server
def rpc_disable_rpc_calls
def rpc_enable_rpc_calls
def rpc_status
def rpc_interval_status
def rpc_get_my_xml_file
def rpc_check_availabitity
def rpc_get_file_list
def rpc_update_configuration
def rpc_update_keyword_file
def _parse_directory

Detailed Description

This class contains the RPC functions.

Definition at line 848 of file server_classes.py.


Member Function Documentation

def server_classes::RPC::__init__   self,
  verbose,
  semaphore,
  config_file,
  interval,
  keyword_path,
  keyword_name,
  xml_file_path
 

constructor

Definition at line 850 of file server_classes.py.

def server_classes::RPC::_parse_directory   self,
  arg,
  dirname,
  fnames
 

This function "walks" through a given directory and looks for the client_log.xml file. The name and last modified time are saved in a list (2 dimensional array). The function should be used with os.path.walk(path, function_name, arg)!

dirname = directory which need to be pared
fnames = files within dirname

Definition at line 1201 of file server_classes.py.

def server_classes::RPC::rpc_check_availabitity   self  ) 
 

This function check if the server is still in the parsing process.

Definition at line 940 of file server_classes.py.

def server_classes::RPC::rpc_disable_rpc_calls   self  ) 
 

This function disables rpc.

Definition at line 875 of file server_classes.py.

def server_classes::RPC::rpc_enable_rpc_calls   self  ) 
 

This function enables rpc.

Definition at line 884 of file server_classes.py.

def server_classes::RPC::rpc_get_file_list   self  ) 
 

This function walks through the *.xml directory and finds all files, which need to be fetched form the client.

Definition at line 952 of file server_classes.py.

def server_classes::RPC::rpc_get_my_xml_file   self,
  filename
 

This functions gets the xml file from the server !

Definition at line 911 of file server_classes.py.

def server_classes::RPC::rpc_interval_status   self  ) 
 

This function returns the current parsing interval time.

Definition at line 902 of file server_classes.py.

def server_classes::RPC::rpc_status   self  ) 
 

This function return the current status of the self._client variable.

Definition at line 893 of file server_classes.py.

def server_classes::RPC::rpc_stop_server   self  ) 
 

This function stops the server!

Definition at line 865 of file server_classes.py.

def server_classes::RPC::rpc_update_configuration   self,
  section,
  key,
  value,
  action
 

This functions adds or deletes values in the config.ini.
action:
0 = delete
1 = add
2 = exchange
4 = info

Definition at line 969 of file server_classes.py.

def server_classes::RPC::rpc_update_keyword_file   self,
  keyword,
  action
 

This function updates the keyword file.

action:
0 = delete
1 = add
2 = info

Definition at line 1095 of file server_classes.py.


The documentation for this class was generated from the following file:
Generated on Sun Mar 5 18:04:16 2006 for GZ Parser by  doxygen 1.4.6-NO