org.klomp.snark
Class PeerCheckerTask

java.lang.Object
  extended by java.util.TimerTask
      extended by org.klomp.snark.PeerCheckerTask
All Implemented Interfaces:
java.lang.Runnable

 class PeerCheckerTask
extends java.util.TimerTask

TimerTask that checks for good/bad up/downloader. Works together with the PeerCoordinator to select which Peers get (un)choked.


Field Summary
 I2PSnarkUtil _util
           
 
Constructor Summary
PeerCheckerTask(I2PSnarkUtil util, PeerCoordinator coordinator)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_util

public I2PSnarkUtil _util
Constructor Detail

PeerCheckerTask

PeerCheckerTask(I2PSnarkUtil util,
                PeerCoordinator coordinator)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Specified by:
run in class java.util.TimerTask