Class RPIPRange
java.lang.Object
com.biglybt.pifimpl.remote.RPObject
com.biglybt.pifimpl.remote.ipfilter.RPIPRange
- All Implemented Interfaces:
IPRange, Serializable, Comparable
-
Field Summary
FieldsFields inherited from class RPObject
__delegate, _dispatcher, _object_id, next_key, object_registry, object_registry_reverse -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void_setDelegate(Object _delegate) voidFor a range to be usable it has to be valid.intstatic RPIPRangevoiddelete()getEndIP()booleanbooleanbooleanisValid()voidsetDescription(String str) voidvoidsetSessionOnly(boolean sessionOnly) voidsetStartIP(String str) Methods inherited from class RPObject
_fixupLocal, _getDelegate, _getName, _getOID, _lookupLocal, _lookupLocal, _refresh, _setRemote, getDispatcher, notSupported, notSupported
-
Field Details
-
delegate
-
description
-
start_ip
-
end_ip
-
-
Constructor Details
-
RPIPRange
-
-
Method Details
-
create
-
_setDelegate
- Overrides:
_setDelegatein classRPObject
-
_setLocal
- Overrides:
_setLocalin classRPObject- Throws:
RPException
-
_process
-
getDescription
- Specified by:
getDescriptionin interfaceIPRange
-
setDescription
- Specified by:
setDescriptionin interfaceIPRange
-
checkValid
public void checkValid()Description copied from interface:IPRangeFor 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!!!!- Specified by:
checkValidin interfaceIPRange
-
isValid
-
isSessionOnly
public boolean isSessionOnly()- Specified by:
isSessionOnlyin interfaceIPRange
-
getStartIP
- Specified by:
getStartIPin interfaceIPRange
-
setStartIP
- Specified by:
setStartIPin interfaceIPRange
-
getEndIP
-
setEndIP
-
setSessionOnly
public void setSessionOnly(boolean sessionOnly) - Specified by:
setSessionOnlyin interfaceIPRange
-
isInRange
-
delete
-
compareTo
- Specified by:
compareToin interfaceComparable
-