Class IpRangeImpl

java.lang.Object
com.biglybt.core.ipfilter.impl.IpRangeImpl
All Implemented Interfaces:
IpRange
Direct Known Subclasses:
IpRangeV4Impl, IpRangeV6Impl

public abstract class IpRangeImpl extends Object implements IpRange
  • Field Details

    • FLAG_SESSION_ONLY

      protected static final byte FLAG_SESSION_ONLY
      See Also:
    • FLAG_ADDED_TO_RANGE_LIST

      protected static final byte FLAG_ADDED_TO_RANGE_LIST
      See Also:
    • FLAG_INVALID_START

      protected static final byte FLAG_INVALID_START
      See Also:
    • FLAG_INVALID_END

      protected static final byte FLAG_INVALID_END
      See Also:
    • FLAG_INVALID

      protected static final byte FLAG_INVALID
      See Also:
    • flags

      protected byte flags
    • descRef

      private Object descRef
  • Constructor Details

    • IpRangeImpl

      public IpRangeImpl()
  • Method Details

    • setAddedToRangeList

      protected void setAddedToRangeList(boolean b)
    • getAddedToRangeList

      public boolean getAddedToRangeList()
    • isV4

      protected abstract boolean isV4()
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface IpRange
    • setDescription

      public void setDescription(String str)
      Specified by:
      setDescription in interface IpRange
    • compareDescription

      public int compareDescription(IpRange other)
      Specified by:
      compareDescription in interface IpRange
    • getDescRef

      protected Object getDescRef()
    • setDescRef

      protected void setDescRef(Object descRef)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isSessionOnly

      public boolean isSessionOnly()
      Specified by:
      isSessionOnly in interface IpRange
    • setSessionOnly

      public void setSessionOnly(boolean _sessionOnly)
      Specified by:
      setSessionOnly in interface IpRange
    • checkValid

      public void checkValid()
      Specified by:
      checkValid in interface IpRange