Interface EventListener<E extends Event>

All Superinterfaces:
EventFilter<E>
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 EventListener<E extends Event> extends EventFilter<E>
Entity capable of receiving events.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    event(E event)
    Reacts to the specified event.

    Methods inherited from interface io.atomix.utils.event.EventFilter

    isRelevant
  • Method Details

    • event

      void event(E event)
      Reacts to the specified event.
      Parameters:
      event - event to be processed