Interface EndpointEvent
- All Known Implementing Classes:
EndpointEvent.CidIssued,EndpointEvent.CidRetired,EndpointEvent.Drained,EndpointEvent.ResetToken
public sealed interface EndpointEvent
permits EndpointEvent.CidIssued, EndpointEvent.CidRetired, EndpointEvent.ResetToken, EndpointEvent.Drained
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 ClassesModifier and TypeInterfaceDescriptionstatic final recordThe connection issued a local connection ID; packets for it must reach the connection.static final recordThe peer retired a local connection ID; it no longer routes to the connection.static final recordThe connection is gone and holds no state the endpoint must keep; this is the last event.static final recordThe peer's current stateless reset token, which lets a reset with a random connection ID reach the connection.