Class DownloadRemoveRulesPlugin

java.lang.Object
com.biglybt.plugin.removerules.DownloadRemoveRulesPlugin
All Implemented Interfaces:
DownloadManagerListener, Plugin

public class DownloadRemoveRulesPlugin extends Object implements Plugin, DownloadManagerListener
  • Field Details

    • INITIAL_DELAY

      public static final int INITIAL_DELAY
      See Also:
    • DELAYED_REMOVAL_PERIOD

      public static final int DELAYED_REMOVAL_PERIOD
      See Also:
    • AELITIS_BIG_TORRENT_SEED_LIMIT

      public static final int AELITIS_BIG_TORRENT_SEED_LIMIT
      See Also:
    • AELITIS_SMALL_TORRENT_SEED_LIMIT

      public static final int AELITIS_SMALL_TORRENT_SEED_LIMIT
      See Also:
    • MAX_SEED_TO_PEER_RATIO

      public static final int MAX_SEED_TO_PEER_RATIO
      See Also:
    • plugin_interface

      protected PluginInterface plugin_interface
    • closing

      protected boolean closing
    • dm_listener_map

      protected Map dm_listener_map
    • monitored_downloads

      protected List monitored_downloads
    • log

      protected LoggerChannel log
    • remove_unauthorised

      protected BooleanParameter remove_unauthorised
    • remove_unauthorised_seeding_only

      protected BooleanParameter remove_unauthorised_seeding_only
    • remove_unauthorised_data

      protected BooleanParameter remove_unauthorised_data
    • remove_update_torrents

      protected BooleanParameter remove_update_torrents
  • Constructor Details

    • DownloadRemoveRulesPlugin

      public DownloadRemoveRulesPlugin()
  • Method Details

    • load

      public static void load(PluginInterface plugin_interface)
    • initialize

      public void initialize(PluginInterface _plugin_interface)
      Description copied from interface: Plugin
      This method is called when the Plugin is loaded by the client
      Specified by:
      initialize in interface Plugin
      Parameters:
      _plugin_interface - the interface that the plugin must use to communicate with the client
    • downloadAdded

      public void downloadAdded(Download download)
      Specified by:
      downloadAdded in interface DownloadManagerListener
    • handleScrape

      protected void handleScrape(Download download, DownloadScrapeResult response)
    • handleAnnounce

      protected void handleAnnounce(Download download, DownloadAnnounceResult response)
    • handleAnnounceScrapeStatus

      protected void handleAnnounceScrapeStatus(Download download, String status)
    • removeDownloadDelayed

      protected void removeDownloadDelayed(Download download, boolean remove_data)
    • removeDownload

      protected void removeDownload(Download download, boolean remove_data)
    • downloadRemoved

      public void downloadRemoved(Download download)
      Specified by:
      downloadRemoved in interface DownloadManagerListener
    • destroyInitiated

      public void destroyInitiated()
    • destroyed

      public void destroyed()