💾 Archived View for tris.fyi › pydoc › multiprocessing.connection captured on 2022-07-16 at 15:04:13. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
This module has no docstring.
with_traceback(...) Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
with_traceback(...) Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
Connection class based on an arbitrary file descriptor (Unix only), or a socket handle (Windows).
close(self) Close the connection
fileno(self) File descriptor or handle of the connection
poll(self, timeout=0.0) Whether there is any input available to be read
recv(self) Receive a (picklable) object
recv_bytes(self, maxlength=None) Receive bytes data as a bytes object.
recv_bytes_into(self, buf, offset=0) Receive bytes data into a writeable bytes-like object. Return the number of bytes read.
send(self, obj) Send a (picklable) object
send_bytes(self, buf, offset=0, size=None) Send the bytes data from a bytes-like object
closed = <property object at 0x7f92bda90810> True if the connection is closed
readable = <property object at 0x7f92bda90860> True if the connection is readable
writable = <property object at 0x7f92bda94360> True if the connection is writable
recv(self)
send(self, obj)
Returns a listener object. This is a wrapper for a bound socket which is 'listening' for connections, or for a Windows named pipe.
accept(self) Accept a connection on the bound socket or named pipe of `self`. Returns a `Connection` object.
close(self) Close the bound socket or named pipe of `self`.
address = <property object at 0x7f92bda949f0>
last_accepted = <property object at 0x7f92bda94a40>
Representation of a socket which is bound to an address and listening
accept(self)
close(self)
accept(self)
close(self) Close the bound socket or named pipe of `self`.
address = <property object at 0x7f92bda949f0>
last_accepted = <property object at 0x7f92bda94a40>
Client(address, family=None, authkey=None) Returns a connection to the address of a `Listener`
Pipe(duplex=True) Returns pair of connection objects at either end of a pipe
SocketClient(address) Return a connection object connected to the socket given by `address`
XmlClient(*args, **kwds)
address_type(address) Return the types of the address This can be 'AF_INET', 'AF_UNIX', or 'AF_PIPE'
answer_challenge(connection, authkey)
arbitrary_address(family) Return an arbitrary free address for the given family
deliver_challenge(connection, authkey)
rebuild_connection(df, readable, writable)
reduce_connection(conn)
wait(object_list, timeout=None) Wait till an object in object_list is ready/readable. Returns list of those objects in object_list which are ready/readable.
BUFSIZE = 8192
CHALLENGE = b'#CHALLENGE#'
CONNECTION_TIMEOUT = 20.0
FAILURE = b'#FAILURE#'
MESSAGE_LENGTH = 20
WELCOME = b'#WELCOME#'
default_family = 'AF_UNIX'
families = ['AF_INET', 'AF_UNIX']