Package com.vuze.plugins.mlab
Class MLabRunner
java.lang.Object
com.vuze.plugins.mlab.MLabRunner
As modified from BiglyBT MLabPlugin
- Since:
- 0.9.38
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
The parameter for runNDT()static interface
Returned from runNDTstatic interface
The listener for ToolRun -
Method Summary
Modifier and TypeMethodDescriptionstatic MLabRunner
getInstance
(I2PAppContext ctx) boolean
static void
standalone testrunNDT
(MLabRunner.ToolListener listener) Non-blocking, spawns a thread and returns immediately.runNDT
(MLabRunner.ToolListener listener, boolean use_SSL, String serverHost) Non-blocking, spawns a thread and returns immediately.
-
Method Details
-
getInstance
-
isRunning
public boolean isRunning() -
runNDT
Non-blocking, spawns a thread and returns immediately.- Parameters:
listener
- use to detect completion and get results- Returns:
- a ToolRun object which may be used to cancel the test, or null if there was already a test in progress.
-
runNDT
public MLabRunner.ToolRun runNDT(MLabRunner.ToolListener listener, boolean use_SSL, String serverHost) Non-blocking, spawns a thread and returns immediately.- Parameters:
listener
- use to detect completion and get resultsuse_SSL
- whether to use SSL to talk to the serversserverHost
- if non-null, bypass the name server and run test with this host- Returns:
- a ToolRun object which may be used to cancel the test, or null if there was already a test in progress.
- Since:
- 0.9.39
-
main
standalone test
-