Interface IEventListener

  • All Known Implementing Classes:
    EventListenerAdapter

    public interface IEventListener
    IEventListener specifies the interface that classes must implement to receive events from an EventServiceChannel.

    IEventListener is an interface that forms part of the service style high-level public interface to the Correlator with a focus on only dealing with Events and consumer channels.

    • Method Detail

      • handleEvent

        void handleEvent​(Event event)
        Callback method that is called when a new Event is received.
        Parameters:
        event - The received Event.
      • handleEvents

        void handleEvents​(Event[] events)
        Callback method that is called when a new batch of Events is received.
        Parameters:
        events - The received array of Events.