Class DownloadRemoveRulesPlugin

    • Field Detail

      • AELITIS_BIG_TORRENT_SEED_LIMIT

        public static final int AELITIS_BIG_TORRENT_SEED_LIMIT
        See Also:
        Constant Field Values
      • AELITIS_SMALL_TORRENT_SEED_LIMIT

        public static final int AELITIS_SMALL_TORRENT_SEED_LIMIT
        See Also:
        Constant Field Values
      • closing

        protected boolean closing
      • dm_listener_map

        protected java.util.Map dm_listener_map
      • monitored_downloads

        protected java.util.List monitored_downloads
      • remove_unauthorised_seeding_only

        protected BooleanParameter remove_unauthorised_seeding_only
    • Constructor Detail

      • DownloadRemoveRulesPlugin

        public DownloadRemoveRulesPlugin()
    • Method Detail

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

        protected void handleAnnounceScrapeStatus​(Download download,
                                                  java.lang.String status)
      • removeDownloadDelayed

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

        protected void removeDownload​(Download download,
                                      boolean remove_data)
      • destroyInitiated

        public void destroyInitiated()
      • destroyed

        public void destroyed()