Expand description
Framed broker connection handling for the v1 Hello path.
This module keeps the wire I/O boundary separate from
HelloHandler. The long-lived accept loop can call the same
single-connection function after binding the platform pipe/socket and
verifying peer credentials.
Enums§
- Broker
Connection Error - Errors raised while serving a framed broker Hello connection.
- Peer
Credential Policy - Peer credential policy applied before reading a Hello frame.
Traits§
- Hello
Responder - Handles a decoded broker Hello frame and returns the protocol reply.
Functions§
- handle_
hello_ connection - Handle one already-accepted broker connection.
- handle_
hello_ connection_ with - Handle one already-accepted broker connection with a pluggable responder.
- handle_
hello_ connection_ with_ peer_ policy - Handle one already-accepted broker connection with an explicit peer policy.
- local_
socket_ name - Convert the broker’s platform socket path/name string into an
interprocesslocal-socket name. - serve_
local_ socket_ connections - Run a bounded blocking local-socket accept loop.
- serve_
local_ socket_ connections_ with - Run a bounded blocking local-socket accept loop with a pluggable responder.
- serve_
local_ socket_ connections_ with_ peer_ policy - Run a bounded blocking local-socket accept loop with an explicit peer policy.
- serve_
local_ socket_ connections_ with_ policy - Run a bounded pluggable-responder accept loop with an explicit peer policy.
- serve_
one_ local_ socket - Run one blocking local-socket accept and serve exactly one Hello.
- serve_
one_ local_ socket_ with - Run one blocking local-socket accept and serve exactly one Hello with a pluggable responder.
- serve_
one_ local_ socket_ with_ peer_ policy - Run one blocking local-socket accept with an explicit peer policy.