|
||||||||||
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
org.apache.directory.server.dhcp.options.dhcp.ServerIdentifier
public class ServerIdentifier
This option is used in DHCPOFFER and DHCPREQUEST messages, and may optionally be included in the DHCPACK and DHCPNAK messages. DHCP servers include this option in the DHCPOFFER in order to allow the client to distinguish between lease offers. DHCP clients use the contents of the 'server identifier' field as the destination address for any DHCP messages unicast to the DHCP server. DHCP clients also indicate which of several lease offers is being accepted by including this option in a DHCPREQUEST message. The identifier is the IP address of the selected server. The code for this option is 54, and its length is 4.
Constructor Summary | |
---|---|
ServerIdentifier()
|
|
ServerIdentifier(java.net.InetAddress localHost)
|
Method Summary | |
---|---|
byte |
getTag()
Get the option's code tag. |
Methods inherited from class org.apache.directory.server.dhcp.options.AddressOption |
---|
getAddress, getData, setAddress, setData |
Methods inherited from class org.apache.directory.server.dhcp.options.DhcpOption |
---|
getClassByTag, getTagByClass, writeTo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerIdentifier()
public ServerIdentifier(java.net.InetAddress localHost)
Method Detail |
---|
public byte getTag()
DhcpOption
getTag
in class DhcpOption
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |