Class ZephyrDaemonListener

java.lang.Object
zephyr.daemon.model.ZephyrDaemonListener

public class ZephyrDaemonListener extends Object
Receives notifications as a daemon is updated.
  • Constructor Details

    • ZephyrDaemonListener

      public ZephyrDaemonListener()
  • Method Details

    • onBlockHeader

      public void onBlockHeader(ZephyrBlockHeader header)
      Called when a new block is added to the chain.
      Parameters:
      header - is the header of the block added to the chain
    • getLastBlockHeader

      public ZephyrBlockHeader getLastBlockHeader()
      Get the last notified block header.
      Returns:
      the last notified block header