com.aelitis.azureus.core.helpers
Class TorrentFolderWatcher

java.lang.Object
  extended by com.aelitis.azureus.core.helpers.TorrentFolderWatcher

public class TorrentFolderWatcher
extends java.lang.Object

Watches a folder for new torrents and imports them. NOTE: Folder-to-watch and other watching params are taken from a global config option right now, so starting multiple instances of TorrentFolderWatcher is useless as currently coded.


Field Summary
protected  AEMonitor this_mon
           
 
Constructor Summary
TorrentFolderWatcher(GlobalManager global_manager)
          Start a folder watcher, which will auto-import torrents via the given manager.
 
Method Summary
 void destroy()
          Stop and terminate this folder importer watcher.
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

this_mon

protected final AEMonitor this_mon
Constructor Detail

TorrentFolderWatcher

public TorrentFolderWatcher(GlobalManager global_manager)
Start a folder watcher, which will auto-import torrents via the given manager.

Parameters:
global_manager -
Method Detail

start

public void start()

destroy

public void destroy()
Stop and terminate this folder importer watcher.