Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Static Private Attributes
multiprocessing.managers.Token Class Reference
Inheritance diagram for multiprocessing.managers.Token:
Inheritance graph
[legend]
Collaboration diagram for multiprocessing.managers.Token:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __getstate__
def __setstate__
def __repr__

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Static Private Attributes

tuple __slots__ = ('typeid', 'address', 'id')

Detailed Description

Type to uniquely indentify a shared object

Definition at line 77 of file managers.py.


Constructor & Destructor Documentation

def multiprocessing.managers.Token.__init__ (   self,
  typeid,
  address,
  id 
)

Definition at line 83 of file managers.py.

00083 
00084     def __init__(self, typeid, address, id):
00085         (self.typeid, self.address, self.id) = (typeid, address, id)

Here is the call graph for this function:

Here is the caller graph for this function:


Member Function Documentation

Definition at line 86 of file managers.py.

00086 
00087     def __getstate__(self):
00088         return (self.typeid, self.address, self.id)

Here is the call graph for this function:

Definition at line 92 of file managers.py.

00092 
00093     def __repr__(self):
00094         return 'Token(typeid=%r, address=%r, id=%r)' % \
00095                (self.typeid, self.address, self.id)
00096 
00097 #
00098 # Function for communication with a manager's server process
00099 #

Here is the call graph for this function:

def multiprocessing.managers.Token.__setstate__ (   self,
  state 
)

Definition at line 89 of file managers.py.

00089 
00090     def __setstate__(self, state):
00091         (self.typeid, self.address, self.id) = state

Here is the call graph for this function:


Member Data Documentation

tuple multiprocessing.managers.Token.__slots__ = ('typeid', 'address', 'id') [static, private]

Definition at line 81 of file managers.py.

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: