Package io.atomix.utils.event
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidevent(E event)Reacts to the specified event.-
Methods inherited from interface io.atomix.utils.event.EventFilter
isRelevant
-
-
-
-
Method Detail
-
event
void event(E event)
Reacts to the specified event.- Parameters:
event- event to be processed
-
-