Interface IListener
- All Known Implementing Classes:
ConsumerListener,LambdaListener
public interface IListener
Base type for all listeners.
-
Method Summary
-
Method Details
-
call
Calls the listener with the specified event.- Parameters:
event- Event to pass in
-
getTarget
Class<?> getTarget()- Returns:
- The target event type this listener is for
-
getPriority
int getPriority()- Returns:
- The priority for this listener
-
isStatic
Deprecated.Will be removed in a future version- Returns:
- True if this listener is for static methods
-