public abstract class IntOption extends DhcpOption
| Modifier and Type | Field and Description |
|---|---|
private long |
intValue
The int value (represented as a long because of the unsignedness).
|
| Constructor and Description |
|---|
IntOption() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData()
Get the data (wire format) into a byte array.
|
long |
getIntValue() |
void |
setData(byte[] data)
Set the data (wire format) from a byte array.
|
void |
setIntValue(long intValue) |
getClassByTag, getTag, getTagByClass, writeToprivate long intValue
public void setData(byte[] data)
DhcpOptionsetData in class DhcpOptionpublic byte[] getData()
DhcpOptionDhcpOption.setData(byte[]).getData in class DhcpOptionpublic long getIntValue()
public void setIntValue(long intValue)