Interface EventHandler<E>

Type Parameters:
E - the generic Java type of the Event being handled
All Known Subinterfaces:
EventHandler.ForObject<E>, EventHandler.ForObjectAndMetaData<E>, EventHandler.ForObjectAndMetaDataAndRawEvent<E>

Sealed base interface for inherited FunctionalInterface variants encapsulating encapsulating Event handling logic.

Implementations of this will be called after the raw Event retrieved from the event stream has been successfully upcasted and converted to their appropriate Java object type.This implies that implemented FunctionalInterface methods may be called multiple times or not at all for the same raw event, depending on the configured EventUpcasters.

See Also: