|
get(self,
name,
auth=None)
Get a local representation of the remote object with ID
|name|. |
source code
|
|
|
__getitem__(self,
name)
Get a local representation of the remote object with ID
|name|. |
source code
|
|
|
getobj(self,
name,
auth=None)
Get a local representation of the remote object with ID |name| |
source code
|
|
|
|
|
putconn(self,
conn)
Return a communication Object |
source code
|
|
|
handleRequest(self,
conn,
request,
send_method)
Common code to getAttr, setAttr and callMethod |
source code
|
|
|
getAttr(self,
objname,
attrname,
rettype=' VAL ' ,
auth=None)
Get an attribute |attrname| of the object |objname| with the
method to send the object |rettype|, the default is SendByValue
|auth| The authorizing information to access the object |
source code
|
|
|
setAttr(self,
objname,
attrname,
value,
sendtype=' VAL ' ,
local_server=None,
auth=None)
Set the attribute |attrname| to |value| in the object
|objname|. |
source code
|
|
|
|
|
delObject(self,
objname,
auth=None)
Get an attribute |attrname| of the object |objname| with the
method to send the object |rettype|, the default is SendByValue. |
source code
|
|
|
callMethod(self,
objname,
attrname,
args=( ) ,
kwargs={ } ,
rettype=' VAL ' ,
local_server=None,
auth=None,
extra=None)
Call a method. |
source code
|
|
|
get_request_local_server(self,
local_server)
Return a local_server tuple to make the request |
source code
|
|
|
callMethodGuess(self,
objname,
attrname,
args=( ) ,
kwargs={ } ,
rettype=' VAL ' ,
local_server=None,
auth=None,
extra=None)
Call a method, Guessing the best type to send arguments |objname|
The object's name that has the method |attrname| The name of the
object |args| The positional arguments of the call |kwargs| The
keyword arguments of the call |rettype| The return type of the result
|local_server| the local server to send arguments by reference |auth|
The authorizing information to access the object |extra| Additional
information to be added to the message |
source code
|
|