public class IpResourceRange extends IpRange implements IpResourceInstance, Resource
addressFrom, addressTo
Constructor and Description |
---|
IpResourceRange() |
IpResourceRange(int ipResourceId,
byte[] addressFrom,
byte[] addressTo) |
Modifier and Type | Method and Description |
---|---|
int |
getIpResourceId() |
static void |
newIpRangeList(IpResource resource,
java.util.List<IpResourceSubscription> subscriptionList,
int range,
int max,
java.util.List<IpResourceRange> result)
Разделение ресурса на свободные диапазоны указанного размера.
|
void |
setIpResourceId(int ipResourceId) |
getAddressFrom, getAddressTo, inRange, intersects, newInstance, newInstance, newInstance, setAddressFrom, setAddressTo, toString, toString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public IpResourceRange()
public IpResourceRange(int ipResourceId, byte[] addressFrom, byte[] addressTo)
public int getIpResourceId()
getIpResourceId
in interface IpResourceInstance
public void setIpResourceId(int ipResourceId)
setIpResourceId
in interface IpResourceInstance
public static void newIpRangeList(IpResource resource, java.util.List<IpResourceSubscription> subscriptionList, int range, int max, java.util.List<IpResourceRange> result)
resource
- subscriptionList
- range
- max
-