__init__(self,
serv_addr,
path,
local_server=None,
socket_error_handler=<function default_socket_error_handler at 0x85a025c>,
compress=True,
usingssl=True)
(Constructor)
| source code
|
Initialize client.
|serv_addr| The remote server address (host,port)
|path| Location of the server (to apache or another general purpose
http servers). It describes the encoder protocol using the
query_string '?' notation.
|local_server| If is set to a CommunicationServer, when a method is
called the arguments are passed by reference and the remote
server
will try to connect to this server (port and location).
The IP address is the used to contact the remote server.
|socket_error_handler| The error handler, called when an exception
is arised in the connection, parsing, or interpreting messages.
|compress| Compress the messages between peers
|usingssl| If True, every connection is performed with the https protocol
|