public class IpResourceNet extends IpNet implements IpResourceInstance, Resource
Constructor and Description |
---|
IpResourceNet() |
IpResourceNet(int ipResourceId,
byte[] subnet,
int mask) |
Modifier and Type | Method and Description |
---|---|
int |
getIpResourceId() |
static void |
newIpResourceNetList(IpResource resource,
java.util.List<IpResourceSubscription> subscriptionList,
int mask,
int max,
java.util.List<IpResourceNet> result)
Разделение ресурса на свободные диапазоны и последуещее разделение на подсети.
|
static void |
newIpResourceNetList(java.lang.Iterable<IpResourceRange> rangeList,
int mask,
int max,
java.util.List<IpResourceNet> result) |
void |
setIpResourceId(int ipResourceId) |
equals, getBroadcast, getBroadcast, getHostMax, getHostMin, getMask, getMask, getMaxIp, getNetmask, getNetmask, getNetmaskWildcard, getNetmaskWildcard, getSubnet, hashCode, inNet, inNet, maskToInt, newInstance, setMask, setSubnet, toRFCString, toString, toString, toString
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
toString
public IpResourceNet()
public IpResourceNet(int ipResourceId, byte[] subnet, int mask)
public int getIpResourceId()
getIpResourceId
in interface IpResourceInstance
public void setIpResourceId(int ipResourceId)
setIpResourceId
in interface IpResourceInstance
public static void newIpResourceNetList(IpResource resource, java.util.List<IpResourceSubscription> subscriptionList, int mask, int max, java.util.List<IpResourceNet> result)
resource
- subscriptionList
- mask
- max
- result
- public static void newIpResourceNetList(java.lang.Iterable<IpResourceRange> rangeList, int mask, int max, java.util.List<IpResourceNet> result)