public abstract class ByteOption extends DhcpOption
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, writeTo
public ByteOption()
public void setData(byte[] data)
DhcpOption
setData
in class DhcpOption
public byte[] getData()
DhcpOption
DhcpOption.setData(byte[])
.getData
in class DhcpOption
public short getByteValue()
public void setShortValue(short shortValue)
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.