Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes
idlelib.rpc.RPCProxy Class Reference
Inheritance diagram for idlelib.rpc.RPCProxy:
Inheritance graph
[legend]
Collaboration diagram for idlelib.rpc.RPCProxy:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __getattr__

Public Attributes

 sockio
 oid
_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Private Member Functions

def __getattributes
def __getmethods

Static Private Attributes

 __methods = None
 __attributes = None

Detailed Description

Definition at line 537 of file rpc.py.


Constructor & Destructor Documentation

def idlelib.rpc.RPCProxy.__init__ (   self,
  sockio,
  oid 
)

Definition at line 542 of file rpc.py.

00542 
00543     def __init__(self, sockio, oid):
00544         self.sockio = sockio
00545         self.oid = oid

Here is the caller graph for this function:


Member Function Documentation

def idlelib.rpc.RPCProxy.__getattr__ (   self,
  name 
)

Definition at line 546 of file rpc.py.

00546 
00547     def __getattr__(self, name):
00548         if self.__methods is None:
00549             self.__getmethods()
00550         if self.__methods.get(name):
00551             return MethodProxy(self.sockio, self.oid, name)
00552         if self.__attributes is None:
00553             self.__getattributes()
00554         if name in self.__attributes:
00555             value = self.sockio.remotecall(self.oid, '__getattribute__',
00556                                            (name,), {})
00557             return value
00558         else:
00559             raise AttributeError(name)

Here is the call graph for this function:

def idlelib.rpc.RPCProxy.__getattributes (   self) [private]

Definition at line 560 of file rpc.py.

00560 
00561     def __getattributes(self):
00562         self.__attributes = self.sockio.remotecall(self.oid,
00563                                                 "__attributes__", (), {})

Here is the caller graph for this function:

def idlelib.rpc.RPCProxy.__getmethods (   self) [private]

Definition at line 564 of file rpc.py.

00564 
00565     def __getmethods(self):
00566         self.__methods = self.sockio.remotecall(self.oid,
00567                                                 "__methods__", (), {})

Here is the caller graph for this function:


Member Data Documentation

idlelib.rpc.RPCProxy.__attributes = None [static, private]

Definition at line 540 of file rpc.py.

idlelib.rpc.RPCProxy.__methods = None [static, private]

Definition at line 539 of file rpc.py.

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.

Definition at line 544 of file rpc.py.

Definition at line 543 of file rpc.py.


The documentation for this class was generated from the following file: