Class TestPingSourceImpl.testSource
- java.lang.Object
-
- com.biglybt.core.speedmanager.impl.TestPingSourceImpl.testSource
-
- All Implemented Interfaces:
DHTSpeedTesterContact
- Enclosing class:
- TestPingSourceImpl
protected class TestPingSourceImpl.testSource extends java.lang.Object implements DHTSpeedTesterContact
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
testSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 placeprotected void
failed()
java.net.InetSocketAddress
getAddress()
int
getPingPeriod()
protected int
getRTT()
java.lang.String
getString()
void
removeListener(DHTSpeedTesterContactListener listener)
void
setPingPeriod(int period_secs)
protected void
setRTT(int _rtt)
-
-
-
Method Detail
-
getAddress
public java.net.InetSocketAddress getAddress()
- Specified by:
getAddress
in interfaceDHTSpeedTesterContact
-
getString
public java.lang.String getString()
- Specified by:
getString
in interfaceDHTSpeedTesterContact
-
getPingPeriod
public int getPingPeriod()
- Specified by:
getPingPeriod
in interfaceDHTSpeedTesterContact
-
setPingPeriod
public void setPingPeriod(int period_secs)
- Specified by:
setPingPeriod
in interfaceDHTSpeedTesterContact
-
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 interfaceDHTSpeedTesterContact
-
addListener
public void addListener(DHTSpeedTesterContactListener listener)
- Specified by:
addListener
in interfaceDHTSpeedTesterContact
-
removeListener
public void removeListener(DHTSpeedTesterContactListener listener)
- Specified by:
removeListener
in interfaceDHTSpeedTesterContact
-
-