Package io.aeron.cluster.client
Interface ControlledEgressListenerExtension
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface for consuming extension messages coming from the cluster that also
include administrative events in a controlled
fashion like
ControlledFragmentHandler.-
Method Summary
Modifier and TypeMethodDescriptiononExtensionMessage(int actingBlockLength, int templateId, int schemaId, int actingVersion, DirectBuffer buffer, int offset, int length) Message of unknown schema to egress that can be handled by specific listener implementation.
-
Method Details
-
onExtensionMessage
ControlledFragmentHandler.Action onExtensionMessage(int actingBlockLength, int templateId, int schemaId, int actingVersion, DirectBuffer buffer, int offset, int length) Message of unknown schema to egress that can be handled by specific listener implementation.- Parameters:
actingBlockLength- acting block length from headertemplateId- template idschemaId- schema idactingVersion- acting versionbuffer- message bufferoffset- message offsetlength- message length- Returns:
- action to be taken after processing the message.
-