Package com.biglybt.plugin.removerules
Class DownloadRemoveRulesPlugin
java.lang.Object
com.biglybt.plugin.removerules.DownloadRemoveRulesPlugin
- All Implemented Interfaces:
DownloadManagerListener
,Plugin
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
protected boolean
static final int
protected Map
static final int
protected LoggerChannel
static final int
protected List
protected PluginInterface
protected BooleanParameter
protected BooleanParameter
protected BooleanParameter
protected BooleanParameter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
downloadAdded
(Download download) void
downloadRemoved
(Download download) protected void
handleAnnounce
(Download download, DownloadAnnounceResult response) protected void
handleAnnounceScrapeStatus
(Download download, String status) protected void
handleScrape
(Download download, DownloadScrapeResult response) void
initialize
(PluginInterface _plugin_interface) This method is called when the Plugin is loaded by the clientstatic void
load
(PluginInterface plugin_interface) protected void
removeDownload
(Download download, boolean remove_data) protected void
removeDownloadDelayed
(Download download, boolean remove_data) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.biglybt.pif.Plugin
getInitialProperties
-
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
-
closing
protected boolean closing -
dm_listener_map
-
monitored_downloads
-
log
-
remove_unauthorised
-
remove_unauthorised_seeding_only
-
remove_unauthorised_data
-
remove_update_torrents
-
-
Constructor Details
-
DownloadRemoveRulesPlugin
public DownloadRemoveRulesPlugin()
-
-
Method Details
-
load
-
initialize
Description copied from interface:Plugin
This method is called when the Plugin is loaded by the client- Specified by:
initialize
in interfacePlugin
- Parameters:
_plugin_interface
- the interface that the plugin must use to communicate with the client
-
downloadAdded
- Specified by:
downloadAdded
in interfaceDownloadManagerListener
-
handleScrape
-
handleAnnounce
-
handleAnnounceScrapeStatus
-
removeDownloadDelayed
-
removeDownload
-
downloadRemoved
- Specified by:
downloadRemoved
in interfaceDownloadManagerListener
-
destroyInitiated
public void destroyInitiated() -
destroyed
public void destroyed()
-