Class BlockFinishedAlert

All Implemented Interfaces:
Alert<block_finished_alert>

public final class BlockFinishedAlert extends PeerAlert<block_finished_alert>
This alert is generated when a block request receives a response.
  • Method Details

    • blockIndex

      public int blockIndex()
      Returns:
      the block index
    • pieceIndex

      public int pieceIndex()
      Returns:
      the piece index