Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Private Attributes
multiprocessing.connection.ConnectionWrapper Class Reference
Inheritance diagram for multiprocessing.connection.ConnectionWrapper:
Inheritance graph
Collaboration diagram for multiprocessing.connection.ConnectionWrapper:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def send
def recv

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Private Attributes


Detailed Description

Definition at line 421 of file

Constructor & Destructor Documentation

def multiprocessing.connection.ConnectionWrapper.__init__ (   self,

Definition at line 422 of file

00423     def __init__(self, conn, dumps, loads):
00424         self._conn = conn
00425         self._dumps = dumps
00426         self._loads = loads
00427         for attr in ('fileno', 'close', 'poll', 'recv_bytes', 'send_bytes'):
00428             obj = getattr(conn, attr)
            setattr(self, attr, obj)

Here is the caller graph for this function:

Member Function Documentation

Definition at line 432 of file

00433     def recv(self):
00434         s = self._conn.recv_bytes()
00435         return self._loads(s)

Here is the caller graph for this function:

Definition at line 429 of file

00430     def send(self, obj):
00431         s = self._dumps(obj)

Here is the caller graph for this function:

Member Data Documentation

Definition at line 423 of file

Definition at line 424 of file

Definition at line 425 of file

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.

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