Package org.apache.qpid.protonj2.engine
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handle(E target)
Handles the event linked to this EventHandler
-
-
-
Method Detail
-
handle
void handle(E target)
Handles the event linked to this EventHandler- Parameters:
target
- The value to be handled.
-
-