Package org.ldk.batteries
Interface ChannelManagerConstructor.EventHandler
-
- Enclosing class:
- ChannelManagerConstructor
public static interface ChannelManagerConstructor.EventHandler
Abstract interface which should handle Events and persist the ChannelManager. When you call chain_sync_completed a background thread is started which will automatically call these methods for you when events occur.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handle_event(Event events)
void
persist_manager(byte[] channel_manager_bytes)
void
persist_network_graph(byte[] network_graph)
void
persist_scorer(byte[] scorer_bytes)
-
-
-
Method Detail
-
handle_event
void handle_event(Event events)
-
persist_manager
void persist_manager(byte[] channel_manager_bytes)
-
persist_network_graph
void persist_network_graph(byte[] network_graph)
-
persist_scorer
void persist_scorer(byte[] scorer_bytes)
-
-