|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITorrentErrorListener
This listener monitors problems that arise such as tracker errors and downloaded pieces which fail hash checks.
Method Summary | |
---|---|
void |
pieceDiscarded(int piece,
int pieceLength)
This method is called when a piece has failed the integrity hash check and has to be downloaded again. |
void |
trackerError(java.lang.String message)
This method is called when the tracker returns an error. |
Method Detail |
---|
void trackerError(java.lang.String message)
message
- the failure reason provided by the trackervoid pieceDiscarded(int piece, int pieceLength)
piece
- the number of the piece that failed the hash checkpieceLength
- the length of the piece indicating the amount of data that has
been discarded
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |