Class IpFilterAutoLoaderImpl
java.lang.Object
com.biglybt.core.ipfilter.impl.IpFilterAutoLoaderImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String(package private) static final AEMonitor(package private) final IpFilterImpl(package private) static final LogIDsprivate Object -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voiddownloadFiltersAsync(URL url, boolean v6) private intprivate voidLoad dat filter as specified at http://wiki.phoenixlabs.org/wiki/DAT_Formatprivate booleanloadIPv4(boolean allowAsyncDownloading, boolean loadOldWhileAsyncDownloading, List<IpRangeImpl> new_ipRanges) private booleanloadIPv6(boolean allowAsyncDownloading, boolean loadOldWhileAsyncDownloading, List<IpRangeImpl> new_ipRanges) protected voidloadOtherFilters(boolean allowAsyncDownloading, boolean loadOldWhileAsyncDownloading) private StringreadString(BufferedInputStream bin, byte[] descBytes, String encoding) private voidvoidsetNextAutoDownload(boolean updateLastDownloadedDate)
-
Field Details
-
LOGID
-
CFG_AUTOLOAD_LAST
- See Also:
-
class_mon
-
timerEventFilterReload
-
ipFilter
-
-
Constructor Details
-
IpFilterAutoLoaderImpl
-
-
Method Details
-
loadDATFilters
Load dat filter as specified at http://wiki.phoenixlabs.org/wiki/DAT_Format- Parameters:
fin-- Throws:
Exception- Since:
- 3.0.1.5
-
getP2BFileVersion
-
loadOtherFilters
protected void loadOtherFilters(boolean allowAsyncDownloading, boolean loadOldWhileAsyncDownloading) -
loadIPv4
private boolean loadIPv4(boolean allowAsyncDownloading, boolean loadOldWhileAsyncDownloading, List<IpRangeImpl> new_ipRanges) -
loadIPv6
private boolean loadIPv6(boolean allowAsyncDownloading, boolean loadOldWhileAsyncDownloading, List<IpRangeImpl> new_ipRanges) -
setFileReloadTimer
private void setFileReloadTimer()- Since:
- 3.0.1.5
-
downloadFiltersAsync
- Parameters:
url-- Since:
- 3.0.1.5
-
setNextAutoDownload
public void setNextAutoDownload(boolean updateLastDownloadedDate) -
readString
- Parameters:
bin-descBytes-encoding-- Returns:
- Since:
- 3.0.1.5
-