Skip to main content

Module backend_endpoint_allocator

Module backend_endpoint_allocator 

Source
Expand description

Backend endpoint allocation for broker-managed daemon spawns.

The v1 backend pipe name is frozen in lifecycle::names; this module owns the runtime side: generating 128 bits of entropy, converting the derived pipe name into an Endpoint, and avoiding duplicate allocations within one broker process.

Structs§

BackendEndpointAllocator
Allocates unguessable backend IPC endpoints for one broker namespace.

Enums§

BackendEndpointAllocatorError
Errors raised while allocating backend endpoints.

Constants§

DEFAULT_BACKEND_ENDPOINT_ATTEMPTS
Default number of random candidates tried before reporting exhaustion.