Class MLabRunner


  • public class MLabRunner
    extends Object
    As modified from BiglyBT MLabPlugin
    Since:
    0.9.38
    • Method Detail

      • isRunning

        public boolean isRunning()
      • runNDT

        public MLabRunner.ToolRun runNDT​(MLabRunner.ToolListener listener)
        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 results
        use_SSL - whether to use SSL to talk to the servers
        serverHost - 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

        public static void main​(String[] args)
        standalone test