org.gudy.azureus2.core3.tracker.util
Class TRTrackerUtils
java.lang.Object
org.gudy.azureus2.core3.tracker.util.TRTrackerUtils
public class TRTrackerUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRTrackerUtils
public TRTrackerUtils()
getPublicIPOverride
public static String getPublicIPOverride()
isHosting
public static boolean isHosting(URL url_in)
getTrackerIP
public static String getTrackerIP()
isTrackerEnabled
public static boolean isTrackerEnabled()
getAnnounceURLs
public static URL[][] getAnnounceURLs()
stringToPorts
protected static List stringToPorts(String str)
adjustURLForHosting
public static URL adjustURLForHosting(URL url_in)
adjustHostFromHosting
public static String adjustHostFromHosting(String host_in)
isLoopback
public static boolean isLoopback(String host)
checkForBlacklistedURLs
public static void checkForBlacklistedURLs(URL url)
throws IOException
- Throws:
IOException
mergeResponseCache
public static Map mergeResponseCache(Map map1,
Map map2)
getPortsForURL
public static String getPortsForURL()
getPortsForURLFullCrypto
public static String getPortsForURLFullCrypto()
isAZTracker
public static boolean isAZTracker(URL tracker_url)
setAZTracker
public static void setAZTracker(URL tracker_url,
boolean az_tracker)
isUDPProbeOK
public static boolean isUDPProbeOK(URL tracker_url)
setUDPProbeResult
public static void setUDPProbeResult(URL tracker_url,
boolean probe_ok)
addListener
public static void addListener(TRTrackerUtilsListener l)
removeListener
public static void removeListener(TRTrackerUtilsListener l)