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.

@FunctionalInterface public interface ControlledEgressListenerExtension
Interface for consuming extension messages coming from the cluster that also include administrative events in a controlled fashion like ControlledFragmentHandler.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
  • 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 header
      templateId - template id
      schemaId - schema id
      actingVersion - acting version
      buffer - message buffer
      offset - message offset
      length - message length
      Returns:
      action to be taken after processing the message.