-
- All Known Subinterfaces:
JsonParser
,RecordParser
- 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 Handler<E>
A generic event handler.This interface is used heavily throughout Vert.x as a handler for all types of asynchronous occurrences.
- Author:
- Tim Fox
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handle(E event)
Something has happened, so handle it.
-
-
-
Method Detail
-
handle
void handle(E event)
Something has happened, so handle it.- Parameters:
event
- the event to handle
-
-