com.aelitis.azureus.core.speedmanager.impl
Class TestPingSourceImpl.testSource
java.lang.Object
com.aelitis.azureus.core.speedmanager.impl.TestPingSourceImpl.testSource
- All Implemented Interfaces:
- DHTSpeedTesterContact
- Enclosing class:
- TestPingSourceImpl
protected class TestPingSourceImpl.testSource
- extends Object
- implements DHTSpeedTesterContact
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestPingSourceImpl.testSource
protected TestPingSourceImpl.testSource()
getAddress
public InetSocketAddress getAddress()
- Specified by:
getAddress
in interface DHTSpeedTesterContact
getString
public String getString()
- Specified by:
getString
in interface DHTSpeedTesterContact
getPingPeriod
public int getPingPeriod()
- Specified by:
getPingPeriod
in interface DHTSpeedTesterContact
setPingPeriod
public void setPingPeriod(int period_secs)
- Specified by:
setPingPeriod
in interface DHTSpeedTesterContact
getRTT
protected int getRTT()
setRTT
protected void setRTT(int _rtt)
failed
protected void failed()
destroy
public void destroy()
- Description copied from interface:
DHTSpeedTesterContact
- If you don't like the ping times from this contact you can always kill it, a new one will be
created in its place
- Specified by:
destroy
in interface DHTSpeedTesterContact
addListener
public void addListener(DHTSpeedTesterContactListener listener)
- Specified by:
addListener
in interface DHTSpeedTesterContact
removeListener
public void removeListener(DHTSpeedTesterContactListener listener)
- Specified by:
removeListener
in interface DHTSpeedTesterContact