public class DHTPeerSourceFactory extends Object implements PeerSourceFactory
Constructor and Description |
---|
DHTPeerSourceFactory(IRuntimeLifecycleBinder lifecycleBinder,
DHTService dhtService,
Config config) |
Modifier and Type | Method and Description |
---|---|
PeerSource |
getPeerSource(TorrentId torrentId)
Create a peer source for a given torrent.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPeerSource
@Inject public DHTPeerSourceFactory(IRuntimeLifecycleBinder lifecycleBinder, DHTService dhtService, Config config)
public PeerSource getPeerSource(TorrentId torrentId)
PeerSourceFactory
getPeerSource
in interface PeerSourceFactory
Copyright © 2016–2021. All rights reserved.