Package io.aeron.archive.client
Interface ControlEventListener
- All Known Subinterfaces:
ControlResponseListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Listener for responses to requests made on the archive control channel and async notification of errors which may
happen later.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonResponse(long controlSessionId, long correlationId, long relevantId, io.aeron.archive.codecs.ControlResponseCode code, String errorMessage) An event has been received from the Archive in response to a request with a given correlation id.
-
Method Details
-
onResponse
void onResponse(long controlSessionId, long correlationId, long relevantId, io.aeron.archive.codecs.ControlResponseCode code, String errorMessage) An event has been received from the Archive in response to a request with a given correlation id.- Parameters:
controlSessionId- of the originating session.correlationId- of the associated request.relevantId- of the object to which the response applies.code- for the response status.errorMessage- when is set if the response code is not OK.
-