|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gudy.azureus2.ui.swt.speedtest.SpeedTestData
public class SpeedTestData
Use this class to store data that should persist across panels.
Method Summary | |
---|---|
int |
getHightestDownloadResult()
|
static SpeedTestData |
getInstance()
|
NetworkAdminSpeedTesterResult |
getLastResult()
|
java.lang.String |
getLastTestData()
|
int |
getLastUploadOnlyResult()
|
void |
setHighestDownloadResult(int currDownRateInKBytePerSec)
We are keeping the highest download result, since we want results biased toward fast downloads. |
void |
setLastTestData(java.lang.String text)
|
void |
setLastUploadOnlyResult(int currUpRateInKBytesPerSec)
Record the last upload only result, but the minimum allowed result is 20 kbytes/sec. |
void |
setResult(NetworkAdminSpeedTesterResult result)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SpeedTestData getInstance()
public void setLastTestData(java.lang.String text)
public java.lang.String getLastTestData()
public void setResult(NetworkAdminSpeedTesterResult result)
public NetworkAdminSpeedTesterResult getLastResult()
public void setHighestDownloadResult(int currDownRateInKBytePerSec)
currDownRateInKBytePerSec
- - result of a "download only" test.public int getHightestDownloadResult()
public void setLastUploadOnlyResult(int currUpRateInKBytesPerSec)
currUpRateInKBytesPerSec
- -public int getLastUploadOnlyResult()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |