Class TestPingSourceImpl.testSource
java.lang.Object
com.biglybt.core.speedmanager.impl.TestPingSourceImpl.testSource
- All Implemented Interfaces:
DHTSpeedTesterContact
- Enclosing class:
- TestPingSourceImpl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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()
int
protected int
getRTT()
void
removeListener
(DHTSpeedTesterContactListener listener) void
setPingPeriod
(int period_secs) protected void
setRTT
(int _rtt)
-
Field Details
-
address
-
listeners
-
rtt
private int rtt
-
-
Constructor Details
-
testSource
protected testSource()
-
-
Method Details
-
getAddress
- Specified by:
getAddress
in interfaceDHTSpeedTesterContact
-
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
- Specified by:
addListener
in interfaceDHTSpeedTesterContact
-
removeListener
- Specified by:
removeListener
in interfaceDHTSpeedTesterContact
-