org.klomp.snark
Interface CoordinatorListener

All Known Implementing Classes:
Snark

public interface CoordinatorListener

Callback used when some peer changes state.


Method Summary
 boolean overUpBWLimit()
           
 boolean overUpBWLimit(long total)
           
 boolean overUploadLimit(int uploaders)
           
 void peerChange(PeerCoordinator coordinator, Peer peer)
          Called when the PeerCoordinator notices a change in the state of a peer.
 

Method Detail

peerChange

void peerChange(PeerCoordinator coordinator,
                Peer peer)
Called when the PeerCoordinator notices a change in the state of a peer.


overUploadLimit

boolean overUploadLimit(int uploaders)

overUpBWLimit

boolean overUpBWLimit()

overUpBWLimit

boolean overUpBWLimit(long total)