Package com.biglybt.plugin.magnet
Class MagnetPluginMDDownloader
java.lang.Object
com.biglybt.plugin.magnet.MagnetPluginMDDownloader
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class
protected static interface
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Object
(package private) final MagnetPluginMDDownloader.DownloadActivity
private final InetSocketAddress[]
private final String
private boolean
private AESemaphore
private boolean
private DownloadManager
private final byte[]
private final Object
private final MagnetPlugin
private final PluginInterface
private List<DiskManagerRequest>
private boolean
private boolean
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
MagnetPluginMDDownloader
(MagnetPlugin _plugin, PluginInterface _plugin_interface, byte[] _hash, Set<String> _networks, InetSocketAddress[] _addresses, List<String> _tags, Map<String, Object> _initial_metadata, String _args) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
cancel()
protected DownloadManager
protected void
-
Field Details
-
ACTIVE_SET_LOCK
-
active_set
-
INSTANCE_LOCK
-
plugin_interface
-
plugin
-
hash
private final byte[] hash -
networks
-
addresses
-
tags
-
initial_metadata
-
args
-
activity
-
core_dm
-
started
private volatile boolean started -
cancelled
private volatile boolean cancelled -
completed
private volatile boolean completed -
requests
-
run_complete
private boolean run_complete -
complete_sem
-
-
Constructor Details
-
MagnetPluginMDDownloader
protected MagnetPluginMDDownloader(MagnetPlugin _plugin, PluginInterface _plugin_interface, byte[] _hash, Set<String> _networks, InetSocketAddress[] _addresses, List<String> _tags, Map<String, Object> _initial_metadata, String _args)
-
-
Method Details
-
start
-
cancel
protected boolean cancel() -
getDownloadManager
-