Package org.ldk.structs
Class EventHandler
- java.lang.Object
-
- org.ldk.structs.EventHandler
-
public class EventHandler extends Object
A trait implemented for objects handling events from [`EventsProvider`].
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
EventHandler.EventHandlerInterface
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
finalize()
void
handle_event(Event event)
Handles the given [`Event`].static EventHandler
new_impl(EventHandler.EventHandlerInterface arg)
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
new_impl
public static EventHandler new_impl(EventHandler.EventHandlerInterface arg)
-
handle_event
public void handle_event(Event event)
Handles the given [`Event`]. See [`EventsProvider`] for details that must be considered when implementing this method.
-
-