com.aelitis.azureus.core.speedmanager.impl
Class TestPingSourceImpl.testSource

java.lang.Object
  extended by com.aelitis.azureus.core.speedmanager.impl.TestPingSourceImpl.testSource
All Implemented Interfaces:
DHTSpeedTesterContact
Enclosing class:
TestPingSourceImpl

protected class TestPingSourceImpl.testSource
extends Object
implements DHTSpeedTesterContact


Constructor Summary
protected TestPingSourceImpl.testSource()
           
 
Method Summary
 void addListener(DHTSpeedTesterContactListener listener)
           
 void destroy()
          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
protected  void failed()
           
 InetSocketAddress getAddress()
           
 int getPingPeriod()
           
protected  int getRTT()
           
 String getString()
           
 void removeListener(DHTSpeedTesterContactListener listener)
           
 void setPingPeriod(int period_secs)
           
protected  void setRTT(int _rtt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestPingSourceImpl.testSource

protected TestPingSourceImpl.testSource()
Method Detail

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