Package SPyRO :: Module SPyRO :: Class CommunicationServerShared
[hide private]
[frames] | no frames]

Class CommunicationServerShared

source code

BasicServer --+
              |
             CommunicationServerShared

Instance Methods [hide private]
 
__init__(self, address, location='/SPyRO?XMLRPC', priorities=None, defaultFormat=None, overture=<function defaultoverture at 0x85326bc>, objectpool=None, protocolServer=<class SPyRO.SPyRO.ProtocolHTTPShared at 0x852da1c>)
|address| The address where the Server is listening |location| Location or path in the web server |priorities| Priorities of the protocols |defaultFormat| The default message format where none is specified |overture| A function to be called before anything in the connection process See PeerConnection.solve_request (the overture argument) to more information If it's None, the overture will be skipped.
source code
 
solve_request(self, httpreq, environment) source code

Inherited from BasicServer: __getstate__, __setitem__, can_call, can_del, can_follow_objname, can_get, can_register, can_set, close, delconn, getargument, getcomm, handle, handle_request, handlecall, regconn, set

Inherited from BasicServer (private): _handle_request

Method Details [hide private]

__init__(self, address, location='/SPyRO?XMLRPC', priorities=None, defaultFormat=None, overture=<function defaultoverture at 0x85326bc>, objectpool=None, protocolServer=<class SPyRO.SPyRO.ProtocolHTTPShared at 0x852da1c>)
(Constructor)

source code 
|address| The address where the Server is listening |location| Location or path in the web server |priorities| Priorities of the protocols |defaultFormat| The default message format where none is specified |overture| A function to be called before anything in the connection process See PeerConnection.solve_request (the overture argument) to more information If it's None, the overture will be skipped. |objectpool| The object pool that dispatches the connections |protocolServer| The class of the Procotol used in the Server side, by default ProtocolHTTPShared is Used
Overrides: BasicServer.__init__