com.aelitis.azureus.core.peermanager.uploadslots
Class DownloadingRanker

java.lang.Object
  extended by com.aelitis.azureus.core.peermanager.uploadslots.DownloadingRanker

public class DownloadingRanker
extends Object

Unchoker implementation to be used while in downloading mode.


Constructor Summary
DownloadingRanker()
           
 
Method Summary
 PEPeer getNextOptimisticPeer(ArrayList<PEPeer> all_peers)
           
 ArrayList<PEPeer> rankPeers(int max_to_unchoke, ArrayList<PEPeer> all_peers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DownloadingRanker

public DownloadingRanker()
Method Detail

getNextOptimisticPeer

public PEPeer getNextOptimisticPeer(ArrayList<PEPeer> all_peers)

rankPeers

public ArrayList<PEPeer> rankPeers(int max_to_unchoke,
                                   ArrayList<PEPeer> all_peers)