Interface Listen.ListenInterface

  • Enclosing class:
    Listen

    public static interface Listen.ListenInterface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void block_connected​(byte[] block, int height)
      Notifies the listener that a block was added at the given height.
      void block_disconnected​(byte[] header, int height)
      Notifies the listener that a block was removed at the given height.
    • Method Detail

      • block_connected

        void block_connected​(byte[] block,
                             int height)
        Notifies the listener that a block was added at the given height.
      • block_disconnected

        void block_disconnected​(byte[] header,
                                int height)
        Notifies the listener that a block was removed at the given height.