org.gudy.azureus2.plugins.ipfilter
Interface IPRange
- All Superinterfaces:
- Comparable
- All Known Implementing Classes:
- IPRangeImpl, RPIPRange
public interface IPRange
- extends Comparable
- Author:
- parg
IPRange instances implement Comparable. Rules are identical start+end IPs
getDescription
String getDescription()
setDescription
void setDescription(String str)
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
void setStartIP(String str)
getEndIP
String getEndIP()
setEndIP
void setEndIP(String str)
setSessionOnly
void setSessionOnly(boolean sessionOnly)
isInRange
boolean isInRange(String ipAddress)
delete
void delete()