public class LocalServiceDiscoveryPeerSourceFactory extends Object implements PeerSourceFactory
Constructor and Description |
---|
LocalServiceDiscoveryPeerSourceFactory(Collection<AnnounceGroupChannel> groupChannels,
IRuntimeLifecycleBinder lifecycleBinder,
Cookie cookie,
LocalServiceDiscoveryConfig 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 LocalServiceDiscoveryPeerSourceFactory(Collection<AnnounceGroupChannel> groupChannels, IRuntimeLifecycleBinder lifecycleBinder, Cookie cookie, LocalServiceDiscoveryConfig config)
public PeerSource getPeerSource(TorrentId torrentId)
PeerSourceFactory
getPeerSource
in interface PeerSourceFactory
Copyright © 2016–2021. All rights reserved.