Interface IListener

All Known Implementing Classes:
ConsumerListener, LambdaListener

public interface IListener
Base type for all listeners.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    call(Object event)
    Calls the listener with the specified event.
    int
     
     
    boolean
    Deprecated.
    Will be removed in a future version
  • Method Details

    • call

      void call(Object event)
      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 boolean isStatic()
      Deprecated.
      Will be removed in a future version
      Returns:
      True if this listener is for static methods