java.lang.Object
edu.internet2.ndt.Tcpbw100.TestWorker
All Implemented Interfaces:
Runnable
Enclosing class:
Tcpbw100

class Tcpbw100.TestWorkerextends Object implements Runnable
Class to start tests in a thread. Starts by disabling all buttons, and invokes the Tcpbw100.dottcp(StatusPanel) method. This thread is stopped when the number of tests that was configured to be run have all completed, or if the user stops it by interrupting from the GUI. Once the tests have been run, the buttons are enabled so that results can be viewed in detail.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a worker that runs the configured number of tests in sequence.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    I2P: Runs the tests, refusing to start a second run while one is active.
    private void
    Runs the bandwidth test from connection to results.

    Methods inherited from class Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TestWorker

      TestWorker()
      Creates a worker that runs the configured number of tests in sequence.
  • Method Details

    • run

      public void run()
      I2P: Runs the tests, refusing to start a second run while one is active.
      Specified by:
      run in interface Runnable
    • run2

      private void run2()
      Runs the bandwidth test from connection to results.