Skip to main content

Module endpoint

Module endpoint 

Source
Expand description

Per-association Endpoint actor.

Each endpoint owns one peer (Address + UID). The writer half pumps outbound user/system payloads (with heartbeats when idle); the reader half consumes inbound payloads dispatched by the EndpointManager and routes them up to the local ActorSystem. Both halves cooperate with the AckedSendBuffer / AckedReceiveBuffer for sliding-window reliable delivery.

Structs§

EndpointHandle
InboundEnvelope
Inbound payload destined for the local ActorSystem. Produced by the reader half and consumed by the local dispatcher (set on the provider).

Enums§

EndpointCmd
Outbound commands accepted by the writer half.
InboundPdu
PDUs the manager dispatches to this endpoint’s reader half.

Functions§

spawn_endpoint
Spawn an endpoint reader/writer pair. The returned handle is what RemoteActorRef::tell_serialized ultimately writes to.