Interface NetworkAdminSpeedTestScheduler

All Known Implementing Classes:
NetworkAdminSpeedTestSchedulerImpl

public interface NetworkAdminSpeedTestScheduler
  • Field Details

  • Method Details

    • initialise

      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
    • getCurrentTest

      returns the currently scheduled test, null if none
      Returns:
      - NetworkAdminSpeedTestScheduledTest
    • scheduleTest

      Request a test using the testing service.
      Parameters:
      type - - ID for the type of test - use above constants
      Returns:
      boolean - true if a success, otherwise false.
      Throws:
      NetworkAdminException - -
    • getLastResult

      NetworkAdminSpeedTesterResult getLastResult(int type)
      Get the most recent result for a given test type, null if none
      Parameters:
      type - - ID for the type of test - use above constants
      Returns:
      - Result