|
__init__(self,
address=None,
location=' /spyro?XMLRPC ' ,
priorities=None,
defaultFormat=None,
transportProtocol=<class SPyRO.SPyRO.ProtocolHTTPShared at 0x852da1c>,
objectpool=None,
overture=<function defaultoverture at 0x85326bc>)
|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 |transportProtocol| The class to manage the transport layer
|objectpool| The object pool manager , if None then a new
SeverObjectPool instance is used |
source code
|
|
|
|
|
regconn(self,
conn)
Register a client connection |
source code
|
|
|
delconn(self,
conn)
Removes a client connection |
source code
|
|
|
__setitem__(self,
k,
v)
Register an object. |
source code
|
|
|
|
|
|
|
getcomm(self,
local_server)
Returns the CommunicationClient associated to the address that
made the |request| through the |serv| |
source code
|
|
|
getargument(self,
comm,
arg)
Get the argument asociated to |arg| using the |comm| It manages
references and values |
source code
|
|
|
handlecall(self,
obj,
atr,
objname,
methodname,
args,
kwargs,
local_server)
handles the execution of methods. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
handle(self,
rfile,
wfile,
environment,
httprequest,
overture=None,
request_rewrite=None)
Handles an spyro request reading the request from rfile, using the broker specified in environment['QUERY_STRING']
It writes data using wfile and the broker. |
source code
|
|
|
|
|
_handle_request(self,
objname,
attrname,
args=( ) ,
kwargs={ } ,
auth=None,
extra=None,
local_server=None,
reqtype=' CALL ' ,
rettype=' VAL ' ,
value=None,
req=None) |
source code
|
|