Class DownloadRemoveRulesPlugin
java.lang.Object
com.biglybt.plugin.removerules.DownloadRemoveRulesPlugin
- All Implemented Interfaces:
DownloadManagerListener, Plugin
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intprotected booleanstatic final intprotected Mapstatic final intprotected LoggerChannelstatic final intprotected Listprotected PluginInterfaceprotected BooleanParameterprotected BooleanParameterprotected BooleanParameterprotected BooleanParameter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoiddownloadAdded(Download download) voiddownloadRemoved(Download download) protected voidhandleAnnounce(Download download, DownloadAnnounceResult response) protected voidhandleAnnounceScrapeStatus(Download download, String status) protected voidhandleScrape(Download download, DownloadScrapeResult response) voidinitialize(PluginInterface _plugin_interface) This method is called when the Plugin is loaded by the clientstatic voidload(PluginInterface plugin_interface) protected voidremoveDownload(Download download, boolean remove_data) protected voidremoveDownloadDelayed(Download download, boolean remove_data) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:PluginThis method is called when the Plugin is loaded by the client- Specified by:
initializein interfacePlugin- Parameters:
_plugin_interface- the interface that the plugin must use to communicate with the client
-
downloadAdded
- Specified by:
downloadAddedin interfaceDownloadManagerListener
-
handleScrape
-
handleAnnounce
-
handleAnnounceScrapeStatus
-
removeDownloadDelayed
-
removeDownload
-
downloadRemoved
- Specified by:
downloadRemovedin interfaceDownloadManagerListener
-
destroyInitiated
public void destroyInitiated() -
destroyed
public void destroyed()
-