Class IpRangeV4Impl

java.lang.Object
com.biglybt.core.ipfilter.impl.IpRangeImpl
com.biglybt.core.ipfilter.impl.IpRangeV4Impl
All Implemented Interfaces:
IpRange

public class IpRangeV4Impl extends IpRangeImpl
  • Field Details

    • ipStart

      private int ipStart
    • ipEnd

      private int ipEnd
    • FLAG_MERGED

      private static final byte FLAG_MERGED
      See Also:
    • merged_end

      private int merged_end
    • my_merged_entries

      private IpRangeV4Impl[] my_merged_entries
  • Constructor Details

    • IpRangeV4Impl

      public IpRangeV4Impl(String _description, String _startIp, String _endIp, boolean _sessionOnly)
    • IpRangeV4Impl

      public IpRangeV4Impl(String _description, int _startIp, int _endIp, boolean _sessionOnly)
  • Method Details

    • isV4

      protected final boolean isV4()
      Specified by:
      isV4 in class IpRangeImpl
    • isValid

      public boolean isValid()
    • isInRange

      public boolean isInRange(String ipAddress)
    • getStartIp

      public String getStartIp()
    • getStartIpLong

      protected long getStartIpLong()
    • setStartIp

      public void setStartIp(String str)
    • getEndIp

      public String getEndIp()
    • getEndIpLong

      protected long getEndIpLong()
    • setEndIp

      public void setEndIp(String str)
    • compareStartIpTo

      public int compareStartIpTo(IpRange other)
    • compareEndIpTo

      public int compareEndIpTo(IpRange other)
    • getMergedEndLong

      protected long getMergedEndLong()
    • getMergedEntries

      protected IpRangeV4Impl[] getMergedEntries()
    • resetMergeInfo

      protected void resetMergeInfo()
    • getMerged

      protected boolean getMerged()
    • setMerged

      protected void setMerged()
    • setMergedEnd

      protected void setMergedEnd(long endIpLong)
    • addMergedEntry

      protected void addMergedEntry(IpRangeV4Impl e2)
    • getStringSlow

      public String getStringSlow()