org.gudy.azureus2.core3.download
Class DownloadManagerFactory
java.lang.Object
org.gudy.azureus2.core3.download.DownloadManagerFactory
public class DownloadManagerFactory
- extends java.lang.Object
Method Summary |
static void |
addGlobalDownloadListener(DownloadManagerListener listener)
|
static DownloadManager |
create(GlobalManager gm,
byte[] torrent_hash,
java.lang.String torrentFileName,
java.lang.String torrent_save_dir,
java.lang.String torrent_save_file,
int initialState,
boolean persistent,
boolean recovered,
boolean has_ever_been_started,
java.util.List file_priorities)
|
static DownloadManager |
create(GlobalManager gm,
byte[] torrent_hash,
java.lang.String torrentFileName,
java.lang.String savePath,
java.lang.String saveFile,
int initialState,
boolean persistent,
boolean for_seeding,
java.util.List file_priorities,
DownloadManagerInitialisationAdapter adapter)
|
static DownloadManagerAvailability |
getAvailability(TOTorrent torrent,
java.util.List<java.util.List<java.lang.String>> updated_trackers,
java.lang.String[] enabled_peer_sources,
java.lang.String[] enabled_networks)
|
static void |
removeGlobalDownloadListener(DownloadManagerListener listener)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DownloadManagerFactory
public DownloadManagerFactory()
create
public static DownloadManager create(GlobalManager gm,
byte[] torrent_hash,
java.lang.String torrentFileName,
java.lang.String savePath,
java.lang.String saveFile,
int initialState,
boolean persistent,
boolean for_seeding,
java.util.List file_priorities,
DownloadManagerInitialisationAdapter adapter)
create
public static DownloadManager create(GlobalManager gm,
byte[] torrent_hash,
java.lang.String torrentFileName,
java.lang.String torrent_save_dir,
java.lang.String torrent_save_file,
int initialState,
boolean persistent,
boolean recovered,
boolean has_ever_been_started,
java.util.List file_priorities)
getAvailability
public static DownloadManagerAvailability getAvailability(TOTorrent torrent,
java.util.List<java.util.List<java.lang.String>> updated_trackers,
java.lang.String[] enabled_peer_sources,
java.lang.String[] enabled_networks)
addGlobalDownloadListener
public static void addGlobalDownloadListener(DownloadManagerListener listener)
removeGlobalDownloadListener
public static void removeGlobalDownloadListener(DownloadManagerListener listener)