org.eclipse.ecf.protocol.bittorrent
Interface IPieceProgressListener
public interface IPieceProgressListener
The IPieceProgressListener
is used to indicate that one of the
pieces has just retrieved some amount of additional data from a peer.
Method Summary |
void |
blockDownloaded(int piece,
int index,
int blockLength)
This method is called when additional bytes has been written for a piece. |
blockDownloaded
void blockDownloaded(int piece,
int index,
int blockLength)
- This method is called when additional bytes has been written for a piece.
- Parameters:
piece
- the piece's numberindex
- the position in the piece where the bytes were written toblockLength
- the amount of bytes that has been written