public class DHCP6Option extends Object
| Constructor and Description |
|---|
DHCP6Option() |
| Modifier and Type | Method and Description |
|---|---|
short |
getCode()
Gets the code of this option.
|
byte[] |
getData()
Gets the data of this option.
|
short |
getLength()
Gets the length of this option.
|
void |
setCode(short code)
Sets the code of this option.
|
void |
setData(byte[] data)
Sets the data and length of this option.
|
void |
setLength(short length)
Sets length of this option.
|
public void setCode(short code)
code - the code to setpublic void setData(byte[] data)
data - the data to setpublic void setLength(short length)
length - the length to setpublic short getCode()
public short getLength()
public byte[] getData()