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