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§
- Endpoint
Handle - Inbound
Envelope - Inbound payload destined for the local
ActorSystem. Produced by the reader half and consumed by the local dispatcher (set on the provider).
Enums§
- Endpoint
Cmd - Outbound commands accepted by the writer half.
- Inbound
Pdu - 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_serializedultimately writes to.