Class LightWeightSeedManager
java.lang.Object
com.biglybt.core.lws.LightWeightSeedManager
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) IPCInterfaceprivate boolean(package private) final Set<LWSDownload> (package private) final AESemaphoreprivate final Map<HashWrapper, LightWeightSeed> (package private) DHTTrackerPluginprivate static final LightWeightSeedManagerprivate booleanprivate TimerEventPeriodic(package private) DDBaseTTTorrent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(String name, HashWrapper hash, URL url, File data_location, String network, LightWeightSeedAdapter adapter) protected voidaddDownload(LWSDownload download) protected voidaddToDHTTracker(LWSDownload download) get(HashWrapper hw) static LightWeightSeedManagerprotected voidprotected voidprotected voidprotected voidremove(LightWeightSeed lws) protected voidremoveDownload(LWSDownload download) protected voidremoveFromDHTTracker(LWSDownload download) protected voidstartUp()
-
Field Details
-
singleton
-
lws_map
-
started
private boolean started -
dht_add_queue
-
borked
private boolean borked -
public_dht_tracker_plugin
DHTTrackerPlugin public_dht_tracker_plugin -
anon_dht_tracker_plugin
IPCInterface anon_dht_tracker_plugin -
tttorrent
DDBaseTTTorrent tttorrent -
timer
-
init_sem
-
-
Constructor Details
-
LightWeightSeedManager
protected LightWeightSeedManager()
-
-
Method Details
-
getSingleton
-
startUp
protected void startUp() -
add
public LightWeightSeed add(String name, HashWrapper hash, URL url, File data_location, String network, LightWeightSeedAdapter adapter) throws Exception - Throws:
Exception
-
get
-
processTimer
protected void processTimer() -
remove
-
addToDHTTracker
-
removeFromDHTTracker
-
addDownload
-
removeDownload
-
log
-
log
-