libtbx.xmlrpc_utils
index
/net/chevy/raid1/nat/src/cctbx_project/libtbx/xmlrpc_utils.py

 
Modules
       
httplib
os
random
socket
string
subprocess
sys
threading
time
xmlrpclib

 
Classes
       
__builtin__.object
ServerProxy
external_program_server
threading.Thread(threading._Verbose)
external_program_thread
xmlrpclib.Transport
TimeoutTransport

 
class ServerProxy(__builtin__.object)
     Methods defined here:
__getattr__(self, name)
__init__(self, uri, transport=None, encoding=None, verbose=0, allow_none=0, use_datetime=0, timeout=5.0, raise_errors=True)
__repr__(self)
__str__ = __repr__(self)
flush_requests(self, show_timings=False)
get_error_messages(self)
number_of_timeout_errors(self)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class TimeoutTransport(xmlrpclib.Transport)
    http://stackoverflow.com/questions/372365/set-timeout-for-xmlrpclib-serverproxy
 
  Methods defined here:
__init__(self, timeout=<object object>, *args, **kwargs)
make_connection(self, host)

Methods inherited from xmlrpclib.Transport:
close(self)
##
# Clear any cached connection object.
# Used in the event of socket errors.
get_host_info(self, host)
getparser(self)
parse_response(self, response)
request(self, host, handler, request_body, verbose=0)
send_content(self, connection, request_body)
send_host(self, connection, host)
send_request(self, connection, handler, request_body)
send_user_agent(self, connection)
single_request(self, host, handler, request_body, verbose=0)

Data and other attributes inherited from xmlrpclib.Transport:
accept_gzip_encoding = True
encode_threshold = None
user_agent = 'xmlrpclib.py/1.0.1 (by www.pythonware.com)'

 
class external_program_server(__builtin__.object)
     Methods defined here:
__getattr__(self, name)
__init__(self, command_args, program_id, timeout, cache_requests=False, local_port=None, log=None, intercept_output=False)
flush_requests(self, *args, **kwds)
get_port(self)
initialize_server(self)
is_alive(self)
restart(self)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
port_ranges = [(40001, 40840), (46000, 46999)]

 
class external_program_thread(threading.Thread)
    #-----------------------------------------------------------------------
 
 
Method resolution order:
external_program_thread
threading.Thread
threading._Verbose
__builtin__.object

Methods defined here:
__init__(self, command_args, program_id, log=None, intercept_output=True)
is_alive(self)
# XXX: this is probably a bad idea
run(self)

Methods inherited from threading.Thread:
__repr__(self)
getName(self)
isAlive(self)
isDaemon(self)
join(self, timeout=None)
setDaemon(self, daemonic)
setName(self, name)
start(self)

Data descriptors inherited from threading.Thread:
daemon
ident
name

Data descriptors inherited from threading._Verbose:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Data
        default_timeout = 5.0
division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)