Back to index

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

List of all members.

Public Member Functions

def accept
def close

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type


 address = property(lambda self: self._listener._address)
 last_accepted = property(lambda self: self._listener._last_accepted)

Detailed Description

Definition at line 443 of file

Member Function Documentation

Accept a connection on the bound socket or named pipe of `self`.

Returns a `Connection` object.

Reimplemented from multiprocessing.connection.Listener.

Definition at line 444 of file

00445     def accept(self):
00446         global xmlrpclib
00447         import xmlrpc.client as xmlrpclib
00448         obj = Listener.accept(self)
00449         return ConnectionWrapper(obj, _xml_dumps, _xml_loads)

def multiprocessing.connection.Listener.close (   self) [inherited]
Close the bound socket or named pipe of `self`.

Definition at line 151 of file

00152     def close(self):
00153         '''
00154         Close the bound socket or named pipe of `self`.
00155         '''
00156         return self._listener.close()

Here is the caller graph for this function:

Member Data Documentation

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.

Property Documentation

multiprocessing.connection.Listener.address = property(lambda self: self._listener._address) [static, inherited]

Definition at line 157 of file

multiprocessing.connection.Listener.last_accepted = property(lambda self: self._listener._last_accepted) [static, inherited]

Definition at line 158 of file

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