Trees | Index | Help |
---|
Package SPyRO :: Module SPyRO :: Class CommClientMixIn |
|
CommunicationClientBase
,
CommunicationClientThreaded
Method Summary | |
---|---|
Get a local representation of the remote object with ID |name|. | |
Send a bye request | |
Call a method. | |
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 | |
Get an attribute |attrname| of the object |objname| with the method to send the object |rettype|, the default is SendByValue. | |
Get a local representation of the remote object with ID |name|. | |
Return a local_server tuple to make the request | |
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 | |
Get a communication object | |
Get a local representation of the remote object with ID |name| | |
Common code to getAttr, setAttr and callMethod | |
Return a communication Object | |
Set the attribute |attrname| to |value| in the object |objname|. |
Method Details |
---|
__getitem__(self,
name)
Get a local representation of the remote object with ID |name|.
|
byeRequest(self)Send a bye request |
callMethod(self, objname, attrname, args=(), kwargs={}, rettype='VAL', local_server=None, auth=None, extra=None)Call a method. Every argument must be a ObjectWrapper with all the necessary information. |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| Extra general information to be passed in the message |
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 |
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. |auth| The authorizing information to access the object |
get(self, name, auth=None)Get a local representation of the remote object with ID |name|. Deprecated. Use |getobj| instead |
get_request_local_server(self, local_server)Return a local_server tuple to make the request |
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 |
getconn(self)Get a communication object |
getobj(self, name, auth=None)Get a local representation of the remote object with ID |name| |
handleRequest(self, conn, request, send_method)Common code to getAttr, setAttr and callMethod |
putconn(self, conn)Return a communication Object |
setAttr(self, objname, attrname, value, sendtype='VAL', local_server=None, auth=None)Set the attribute |attrname| to |value| in the object |objname|. The mode to send the value is |sendtype|. The |local_server| is used to send by reference |auth| The authorizing information to access the object |
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Sat Oct 14 11:50:52 2006 | http://epydoc.sf.net |