com.aelitis.azureus.core.networkmanager.admin.impl
Class NetworkAdminSpeedTesterBTImpl
java.lang.Object
com.aelitis.azureus.core.networkmanager.admin.impl.NetworkAdminSpeedTesterImpl
com.aelitis.azureus.core.networkmanager.admin.impl.NetworkAdminSpeedTesterBTImpl
- All Implemented Interfaces:
- NetworkAdminSpeedTester
public class NetworkAdminSpeedTesterBTImpl
- extends NetworkAdminSpeedTesterImpl
- implements NetworkAdminSpeedTester
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOWNLOAD_AVE
public static final String DOWNLOAD_AVE
- See Also:
- Constant Field Values
UPLOAD_AVE
public static final String UPLOAD_AVE
- See Also:
- Constant Field Values
DOWNLOAD_STD_DEV
public static final String DOWNLOAD_STD_DEV
- See Also:
- Constant Field Values
UPLOAD_STD_DEV
public static final String UPLOAD_STD_DEV
- See Also:
- Constant Field Values
NetworkAdminSpeedTesterBTImpl
public NetworkAdminSpeedTesterBTImpl(PluginInterface pi)
- Parameters:
pi
- - PluginInterface is used to get Manager classes.
initialise
protected static void initialise()
startUp
protected static void startUp()
getLastResult
protected static NetworkAdminSpeedTesterResult getLastResult()
getTestType
public int getTestType()
- Specified by:
getTestType
in interface NetworkAdminSpeedTester
setMode
public void setMode(int mode)
- Specified by:
setMode
in interface NetworkAdminSpeedTester
getMode
public int getMode()
- Specified by:
getMode
in interface NetworkAdminSpeedTester
setUseCrypto
public void setUseCrypto(boolean _use_crypto)
- Specified by:
setUseCrypto
in interface NetworkAdminSpeedTester
getUseCrypto
public boolean getUseCrypto()
- Specified by:
getUseCrypto
in interface NetworkAdminSpeedTester
start
public void start(TOTorrent tot)
- The downloads have been stopped just need to do the testing.
- Parameters:
tot
- - Torrent recieved from testing service.
complete
public void complete(NetworkAdminSpeedTesterResult result)
abort
protected void abort(String reason,
Throwable cause)
- Specified by:
abort
in class NetworkAdminSpeedTesterImpl
abort
public void abort(String reason)
- Specified by:
abort
in class NetworkAdminSpeedTesterImpl
getResult
public NetworkAdminSpeedTesterResult getResult()
- Get the result for
- Returns:
- Result object of speed test.