Class NetworkAdminSpeedTesterBTImpl.BitTorrentResult
java.lang.Object
com.biglybt.core.networkmanager.admin.impl.NetworkAdminSpeedTesterBTImpl.BitTorrentResult
- All Implemented Interfaces:
NetworkAdminSpeedTesterResult
- Enclosing class:
NetworkAdminSpeedTesterBTImpl
class NetworkAdminSpeedTesterBTImpl.BitTorrentResult
extends Object
implements NetworkAdminSpeedTesterResult
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBitTorrentResult(String errorMsg) Build a Result if the test failed with an error.BitTorrentResult(Map uploadRes, Map downloadRes) Build a Result for a successful test. -
Method Summary
-
Field Details
-
time
final long time -
downspeed
int downspeed -
upspeed
int upspeed -
hadError
boolean hadError -
lastError
String lastError
-
-
Constructor Details
-
BitTorrentResult
-
BitTorrentResult
Build a Result if the test failed with an error.- Parameters:
errorMsg- - why the test failed.
-
-
Method Details
-
getTest
- Specified by:
getTestin interfaceNetworkAdminSpeedTesterResult
-
getTestTime
public long getTestTime()- Specified by:
getTestTimein interfaceNetworkAdminSpeedTesterResult
-
getDownloadSpeed
public int getDownloadSpeed()- Specified by:
getDownloadSpeedin interfaceNetworkAdminSpeedTesterResult
-
getUploadSpeed
public int getUploadSpeed()- Specified by:
getUploadSpeedin interfaceNetworkAdminSpeedTesterResult
-
hadError
public boolean hadError()- Specified by:
hadErrorin interfaceNetworkAdminSpeedTesterResult
-
getLastError
- Specified by:
getLastErrorin interfaceNetworkAdminSpeedTesterResult
-
getResultString
-
toString
-