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
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe parameter for runNDT()static interfaceReturned from runNDTstatic interfaceThe listener for ToolRun - 
Method Summary
Modifier and TypeMethodDescriptionstatic MLabRunnergetInstance(I2PAppContext ctx) booleanstatic voidstandalone 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 
 -