com.aelitis.azureus.core.speedmanager.impl
Class TestPingSourceImpl
java.lang.Object
com.aelitis.azureus.core.speedmanager.impl.TestPingSourceImpl
- All Implemented Interfaces:
- DHTSpeedTester
- Direct Known Subclasses:
- TestPingSourceRandom
public abstract class TestPingSourceImpl
- extends Object
- implements DHTSpeedTester
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestPingSourceImpl
protected TestPingSourceImpl(SpeedManagerAlgorithmProviderAdapter _adapter)
getAdapter
protected SpeedManagerAlgorithmProviderAdapter getAdapter()
update
protected void update(TestPingSourceImpl.testSource[] contacts)
updateSources
protected abstract void updateSources(TestPingSourceImpl.testSource[] sources)
getContactNumber
public int getContactNumber()
- Specified by:
getContactNumber
in interface DHTSpeedTester
setContactNumber
public void setContactNumber(int number)
- Specified by:
setContactNumber
in interface DHTSpeedTester
addContact
protected void addContact(TestPingSourceImpl.testSource contact)
removeContact
protected void removeContact(TestPingSourceImpl.testSource contact)
destroy
public void destroy()
- Specified by:
destroy
in interface DHTSpeedTester
addListener
public void addListener(DHTSpeedTesterListener listener)
- Specified by:
addListener
in interface DHTSpeedTester
removeListener
public void removeListener(DHTSpeedTesterListener listener)
- Specified by:
removeListener
in interface DHTSpeedTester