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