bundles / jupyter_client 8.10.0 / jupyter_client / channels / HBChannel / __init__
function
jupyter_client.channels:HBChannel.__init__
source: /jupyter_client/channels.py:53
Signature
def __init__(self, context: zmq.Context | None = None, session: Session | None = None, address: t.Union[t.Tuple[str, int], str] = '', *, curve_serverkey: bytes | None = None) → NoneSummary
Create the heartbeat monitor thread.
Parameters
context: :class:`zmq.Context`The ZMQ context to use.
session: :class:`session.Session`The session to use.
address: zmq urlStandard (ip, port) tuple that the kernel is listening on.
curve_serverkey: bytes, optionalCurveZMQ server public key (Z85). When provided, the heartbeat REQ socket is configured as a CurveZMQ client so it can communicate with a CurveZMQ-enabled kernel.
Aliases
jupyter_client.channels.HBChannel.__init__