Class TRTrackerAnnouncerFactoryImpl
- java.lang.Object
-
- com.biglybt.core.tracker.client.impl.TRTrackerAnnouncerFactoryImpl
-
public class TRTrackerAnnouncerFactoryImpl extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static AEMonitor
class_mon
protected static java.util.List<TRTrackerAnnouncerImpl>
clients
protected static java.util.List<TRTrackerAnnouncerFactoryListener>
listeners
-
Constructor Summary
Constructors Constructor Description TRTrackerAnnouncerFactoryImpl()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addListener(TRTrackerAnnouncerFactoryListener l)
static TRTrackerAnnouncer
create(TOTorrent torrent, TRTrackerAnnouncerFactory.DataProvider provider, boolean manual)
static void
destroy(TRTrackerAnnouncer client)
static byte[]
getAnonymousPeerId(java.lang.String my_ip, int my_port)
static java.util.List<TRTrackerAnnouncerResponsePeer>
getCachedPeers(java.util.Map map)
static void
removeListener(TRTrackerAnnouncerFactoryListener l)
-
-
-
Field Detail
-
listeners
protected static final java.util.List<TRTrackerAnnouncerFactoryListener> listeners
-
clients
protected static final java.util.List<TRTrackerAnnouncerImpl> clients
-
class_mon
protected static final AEMonitor class_mon
-
-
Method Detail
-
create
public static TRTrackerAnnouncer create(TOTorrent torrent, TRTrackerAnnouncerFactory.DataProvider provider, boolean manual) throws TRTrackerAnnouncerException
- Throws:
TRTrackerAnnouncerException
-
addListener
public static void addListener(TRTrackerAnnouncerFactoryListener l)
-
removeListener
public static void removeListener(TRTrackerAnnouncerFactoryListener l)
-
destroy
public static void destroy(TRTrackerAnnouncer client)
-
getAnonymousPeerId
public static byte[] getAnonymousPeerId(java.lang.String my_ip, int my_port)
-
getCachedPeers
public static java.util.List<TRTrackerAnnouncerResponsePeer> getCachedPeers(java.util.Map map)
-
-