Lines Matching refs:oid
162 def register(self, oid, object): argument
163 self.objtable[oid] = object
165 def unregister(self, oid): argument
167 del self.objtable[oid]
174 how, (oid, methodname, args, kwargs) = request
177 if oid not in self.objtable:
178 return ("ERROR", "Unknown object id: %r" % (oid,))
179 obj = self.objtable[oid]
213 print(msg % (oid, method, args), file=sys.__stderr__)
217 def remotecall(self, oid, methodname, args, kwargs): argument
218 self.debug("remotecall:asynccall: ", oid, methodname)
219 seq = self.asynccall(oid, methodname, args, kwargs)
222 def remotequeue(self, oid, methodname, args, kwargs): argument
223 self.debug("remotequeue:asyncqueue: ", oid, methodname)
224 seq = self.asyncqueue(oid, methodname, args, kwargs)
227 def asynccall(self, oid, methodname, args, kwargs): argument
228 request = ("CALL", (oid, methodname, args, kwargs))
233 self.debug(("asynccall:%d:" % seq), oid, methodname, args, kwargs)
237 def asyncqueue(self, oid, methodname, args, kwargs): argument
238 request = ("QUEUE", (oid, methodname, args, kwargs))
243 self.debug(("asyncqueue:%d:" % seq), oid, methodname, args, kwargs)
301 return RPCProxy(self, obj.oid)
496 oid = id(obj)
497 objecttable[oid] = obj
498 return RemoteProxy(oid)
503 def __init__(self, oid): argument
504 self.oid = oid
521 def get_remote_proxy(self, oid): argument
522 return RPCProxy(self, oid)
547 def get_remote_proxy(self, oid): argument
548 return RPCProxy(self, oid)
556 def __init__(self, sockio, oid): argument
558 self.oid = oid
564 return MethodProxy(self.sockio, self.oid, name)
568 value = self.sockio.remotecall(self.oid, '__getattribute__',
575 self.__attributes = self.sockio.remotecall(self.oid,
579 self.__methods = self.sockio.remotecall(self.oid,
602 def __init__(self, sockio, oid, name): argument
604 self.oid = oid
608 value = self.sockio.remotecall(self.oid, self.name, args, kwargs)