FileDocCategorySizeDatePackage
PeerListener.javaAPI DocAzureus 3.0.3.41506Thu Feb 09 19:42:48 GMT 2006org.gudy.azureus2.plugins.peers

PeerListener

public interface PeerListener
Listener for peer events.
deprecated
use PeerListener2

Fields Summary
Constructors Summary
Methods Summary
public voidsentBadChunk(int piece_num, int total_bad_chunks)
The peer has sent us a bad piece data chunk.

param
piece_num piece that failed hash check
param
total_bad_chunks total number of bad chunks sent by this peer so far

public voidstateChanged(int new_state)
The peer has changed to the given state.

param
new_state of peer