Package com.biglybt.pif.ipfilter
Interface IPRange
- All Superinterfaces:
Comparable
- All Known Implementing Classes:
IPRangeImpl
,RPIPRange
-
Method Summary
Modifier and TypeMethodDescriptionvoid
For a range to be usable it has to be valid.void
delete()
getEndIP()
boolean
boolean
boolean
isValid()
void
setDescription
(String str) void
void
setSessionOnly
(boolean sessionOnly) void
setStartIP
(String str) Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getDescription
String getDescription() -
setDescription
-
checkValid
void checkValid()For a range to be usable it has to be valid. To make it valid you have to call checkValid. Failure to do so will leave newly created ranges as invalid and therefore checks won't be made against it!!!! -
isValid
boolean isValid() -
isSessionOnly
boolean isSessionOnly() -
getStartIP
String getStartIP() -
setStartIP
-
getEndIP
String getEndIP() -
setEndIP
-
setSessionOnly
void setSessionOnly(boolean sessionOnly) -
isInRange
-
delete
void delete()
-