Class RPIPRange
java.lang.Object
com.biglybt.pifimpl.remote.RPObject
com.biglybt.pifimpl.remote.ipfilter.RPIPRange
- All Implemented Interfaces:
IPRange
,Serializable
,Comparable
- See Also:
-
Field Summary
FieldsFields inherited from class com.biglybt.pifimpl.remote.RPObject
__delegate, _dispatcher, _object_id, next_key, object_registry, object_registry_reverse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
_setDelegate
(Object _delegate) void
For a range to be usable it has to be valid.int
static RPIPRange
void
delete()
getEndIP()
boolean
boolean
boolean
isValid()
void
setDescription
(String str) void
void
setSessionOnly
(boolean sessionOnly) void
setStartIP
(String str) Methods inherited from class com.biglybt.pifimpl.remote.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:
_setDelegate
in classRPObject
-
_setLocal
- Overrides:
_setLocal
in classRPObject
- Throws:
RPException
-
_process
-
getDescription
- Specified by:
getDescription
in interfaceIPRange
-
setDescription
- Specified by:
setDescription
in interfaceIPRange
-
checkValid
public void checkValid()Description copied from interface:IPRange
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!!!!- Specified by:
checkValid
in interfaceIPRange
-
isValid
public boolean isValid() -
isSessionOnly
public boolean isSessionOnly()- Specified by:
isSessionOnly
in interfaceIPRange
-
getStartIP
- Specified by:
getStartIP
in interfaceIPRange
-
setStartIP
- Specified by:
setStartIP
in interfaceIPRange
-
getEndIP
-
setEndIP
-
setSessionOnly
public void setSessionOnly(boolean sessionOnly) - Specified by:
setSessionOnly
in interfaceIPRange
-
isInRange
-
delete
public void delete() -
compareTo
- Specified by:
compareTo
in interfaceComparable
-