Interface EndpointEvent

All Known Implementing Classes:
EndpointEvent.CidIssued, EndpointEvent.CidRetired, EndpointEvent.Drained, EndpointEvent.ResetToken

What a Connection tells its Endpoint, through Connection.pollEndpointEvent(): routing changes. The I/O layer passes each one to Endpoint.handleEvent(Connection, EndpointEvent).
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    The connection issued a local connection ID; packets for it must reach the connection.
    static final record 
    The peer retired a local connection ID; it no longer routes to the connection.
    static final record 
    The connection is gone and holds no state the endpoint must keep; this is the last event.
    static final record 
    The peer's current stateless reset token, which lets a reset with a random connection ID reach the connection.