java.lang.Object
org.klomp.snark.SnarkManager.DirMonitor
All Implemented Interfaces:
Runnable
Enclosing class:
SnarkManager

private class SnarkManager.DirMonitorextends Object implements Runnable
This calls SnarkManager.monitorTorrents(File) once a minute. It also gets the bandwidth limits and loads magnets on first run. For standalone, it also handles checking that the external router is there, and restarting torrents once the router appears.
  • Constructor Details

    • DirMonitor

      private DirMonitor()
      Watches the download directory for added files.
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable