|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.aelitis.azureus.core.networkmanager.admin.impl.NetworkAdminSpeedTestSchedulerImpl
public class NetworkAdminSpeedTestSchedulerImpl
Field Summary |
---|
Fields inherited from interface com.aelitis.azureus.core.networkmanager.admin.NetworkAdminSpeedTestScheduler |
---|
TEST_TYPE_BT |
Method Summary | |
---|---|
NetworkAdminSpeedTestScheduledTest |
getCurrentTest()
returns the currently scheduled test, null if none |
static NetworkAdminSpeedTestScheduler |
getInstance()
|
NetworkAdminSpeedTesterResult |
getLastResult(int type)
Get the most recent result for the test. |
void |
initialise()
If system crashes on start-up, then speed tests torrents need to be cleaned on start-up etc - call this method on start to allow this |
NetworkAdminSpeedTestScheduledTest |
scheduleTest(int type)
Request a test using the testing service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static NetworkAdminSpeedTestScheduler getInstance()
public void initialise()
NetworkAdminSpeedTestScheduler
initialise
in interface NetworkAdminSpeedTestScheduler
public NetworkAdminSpeedTestScheduledTest getCurrentTest()
NetworkAdminSpeedTestScheduler
getCurrentTest
in interface NetworkAdminSpeedTestScheduler
public NetworkAdminSpeedTestScheduledTest scheduleTest(int type) throws NetworkAdminException
NetworkAdminSpeedTestScheduler
scheduleTest
in interface NetworkAdminSpeedTestScheduler
type
- - ID for the type of test - use abouve constants
NetworkAdminException
- -public NetworkAdminSpeedTesterResult getLastResult(int type)
getLastResult
in interface NetworkAdminSpeedTestScheduler
type
- - ID for the type of test - use abouve constants
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |