Interface IListener
-
- All Known Implementing Classes:
ConsumerListener,LambdaListener
public interface IListenerBase type for all listeners.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcall(java.lang.Object event)Calls the listener with the specified event.intgetPriority()java.lang.Class<?>getTarget()booleanisStatic()
-
-
-
Method Detail
-
call
void call(java.lang.Object event)
Calls the listener with the specified event.- Parameters:
event- Event to pass in
-
getTarget
java.lang.Class<?> getTarget()
- Returns:
- The target event type this listener is for
-
getPriority
int getPriority()
- Returns:
- The priority for this listener
-
isStatic
boolean isStatic()
- Returns:
- True if this listener is for static methods
-
-