|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.dhcp.options.DhcpOption
org.apache.directory.server.dhcp.options.AddressOption
public abstract class AddressOption
The Dynamic Host Configuration Protocol (DHCP) provides a framework for passing configuration information to hosts on a TCP/IP network. Configuration parameters and other control information are carried in tagged data items that are stored in the 'options' field of the DHCP message. The data items themselves are also called "options." This abstract base class is for options that carry a single IP address.
Constructor Summary | |
---|---|
AddressOption()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.directory.server.dhcp.options.DhcpOption |
---|
getClassByTag, getTag, getTagByClass, writeTo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AddressOption()
Method Detail |
---|
public byte[] getData()
DhcpOption
DhcpOption.setData(byte[])
.
getData
in class DhcpOption
public void setData(byte[] data)
DhcpOption
setData
in class DhcpOption
public java.net.InetAddress getAddress()
public void setAddress(java.net.InetAddress address)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |