public abstract class AddressOption extends DhcpOption
| Modifier and Type | Field and Description |
|---|---|
private java.net.InetAddress |
address |
| Constructor and Description |
|---|
AddressOption() |
| Modifier and Type | Method and Description |
|---|---|
java.net.InetAddress |
getAddress() |
byte[] |
getData()
Get the data (wire format) into a byte array.
|
void |
setAddress(java.net.InetAddress address) |
void |
setData(byte[] data)
Set the data (wire format) from a byte array.
|
getClassByTag, getTag, getTagByClass, writeTopublic byte[] getData()
DhcpOptionDhcpOption.setData(byte[]).getData in class DhcpOptionpublic void setData(byte[] data)
DhcpOptionsetData in class DhcpOptionpublic java.net.InetAddress getAddress()
public void setAddress(java.net.InetAddress address)