Package com.biglybt.core.tracker.client
Class TRTrackerAnnouncerFactory
- java.lang.Object
-
- com.biglybt.core.tracker.client.TRTrackerAnnouncerFactory
-
public class TRTrackerAnnouncerFactory extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TRTrackerAnnouncerFactory.DataProvider
-
Constructor Summary
Constructors Constructor Description TRTrackerAnnouncerFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addListener(TRTrackerAnnouncerFactoryListener l)
static TRTrackerAnnouncer
create(TOTorrent torrent)
static TRTrackerAnnouncer
create(TOTorrent torrent, boolean manual)
static TRTrackerAnnouncer
create(TOTorrent torrent, TRTrackerAnnouncerFactory.DataProvider provider)
static java.util.List<TRTrackerAnnouncerResponsePeer>
getCachedPeers(java.util.Map map)
static void
removeListener(TRTrackerAnnouncerFactoryListener l)
-
-
-
Method Detail
-
create
public static TRTrackerAnnouncer create(TOTorrent torrent) throws TRTrackerAnnouncerException
- Throws:
TRTrackerAnnouncerException
-
create
public static TRTrackerAnnouncer create(TOTorrent torrent, boolean manual) throws TRTrackerAnnouncerException
- Throws:
TRTrackerAnnouncerException
-
create
public static TRTrackerAnnouncer create(TOTorrent torrent, TRTrackerAnnouncerFactory.DataProvider provider) throws TRTrackerAnnouncerException
- Throws:
TRTrackerAnnouncerException
-
addListener
public static void addListener(TRTrackerAnnouncerFactoryListener l)
-
removeListener
public static void removeListener(TRTrackerAnnouncerFactoryListener l)
-
getCachedPeers
public static java.util.List<TRTrackerAnnouncerResponsePeer> getCachedPeers(java.util.Map map)
-
-