| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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()
 | 
 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(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(String text)
public 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 | ||||||||