org.eclipse.ecf.protocol.bittorrent
Interface IHashCheckListener


public interface IHashCheckListener

This listener monitors the completion of hash checks for pieces.


Method Summary
 void hashChecked(int number)
          This method is called after the piece with the given number has completed its hash check.
 

Method Detail

hashChecked

void hashChecked(int number)
This method is called after the piece with the given number has completed its hash check. This is only called during the initial stage of the hash checking when the torrent has just been created or when Torrent.performHashCheck() has been called. Hash checks that are performed when files are being downloaded are notified via ITorrentProgressListener's ITorrentProgressListener.pieceCompleted(int) method.

Parameters:
number - the number of the piece that has just finished its hash check