Interface EventHandler<E>

  • Type Parameters:
    E - The type that this handler will provide to the handle method.
    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 EventHandler<E>
    Handler of events from the proton resources.
    • Method Detail

      • handle

        void handle​(E target)
        Handles the event linked to this EventHandler
        Parameters:
        target - The value to be handled.