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 Detail

      • handle_event

        void handle_event​(Event events)
      • persist_manager

        void persist_manager​(byte[] channel_manager_bytes)