public class IpResourceReserve
extends java.lang.Object
Constructor and Description |
---|
IpResourceReserve(int ipResourceId,
byte[] address,
long timeout)
Deprecated.
|
IpResourceReserve(int ipResourceId,
byte[] address,
short prefixLength,
long timeout) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getAddress() |
int |
getIpResourceId() |
short |
getPrefixLength() |
long |
getReserveTime() |
long |
getTimeout()
Возвращает время, после которого данный резерв нужно освободить.
|
void |
setAddress(byte[] address) |
void |
setIpResourceId(int ipResourceId) |
void |
setPrefixLength(short prefixLength) |
void |
setReserveTime(long reserveTime) |
void |
setTimeout(long timeout) |
public IpResourceReserve(int ipResourceId, byte[] address, short prefixLength, long timeout)
ipResourceId
- address
- prefixLength
- 32 for ipv4timeout
- @Deprecated public IpResourceReserve(int ipResourceId, byte[] address, long timeout)
IpResourceReserve(int, byte[], short, long)
ipResourceId
- address
- timeout
- public int getIpResourceId()
public void setIpResourceId(int ipResourceId)
public byte[] getAddress()
public void setAddress(byte[] address)
public short getPrefixLength()
public void setPrefixLength(short prefixLength)
public long getTimeout()
public void setTimeout(long timeout)
public long getReserveTime()
public void setReserveTime(long reserveTime)