class documentation

class IPCBase: (source)

Known subclasses: mypy.ipc.IPCClient, mypy.ipc.IPCServer

View In Hierarchy

Base class for communication between the dmypy client and server.

This contains logic shared between the client and server, such as reading and writing.

Method __init__ Undocumented
Method close Undocumented
Method read Read bytes from an IPC connection until its empty.
Method write Write bytes to an IPC connection.
Class Variable connection Undocumented
Instance Variable name Undocumented
Instance Variable timeout Undocumented
def __init__(self, name, timeout): (source)

Undocumented

Parameters
name:strUndocumented
timeout:Optional[float]Undocumented
def close(self): (source)

Undocumented

def read(self, size=100000): (source)
Read bytes from an IPC connection until its empty.
Parameters
size:intUndocumented
Returns
bytesUndocumented
def write(self, data): (source)
Write bytes to an IPC connection.
Parameters
data:bytesUndocumented
connection: _IPCHandle = (source)

Undocumented

name = (source)

Undocumented

timeout = (source)

Undocumented