org.apache.directory.server.dhcp.options.dhcp
Class ClientIdentifier

java.lang.Object
  extended by org.apache.directory.server.dhcp.options.DhcpOption
      extended by org.apache.directory.server.dhcp.options.dhcp.ClientIdentifier

public class ClientIdentifier
extends DhcpOption

This option is used by DHCP clients to specify their unique identifier. DHCP servers use this value to index their database of address bindings. This value is expected to be unique for all clients in an administrative domain. Identifiers SHOULD be treated as opaque objects by DHCP servers. The client identifier MAY consist of type-value pairs similar to the 'htype'/'chaddr' fields. For instance, it MAY consist of a hardware type and hardware address. In this case the type field SHOULD be one of the ARP hardware types defined in STD2. A hardware type of 0 (zero) should be used when the value field contains an identifier other than a hardware address (e.g. a fully qualified domain name). For correct identification of clients, each client's client- identifier MUST be unique among the client-identifiers used on the subnet to which the client is attached. Vendors and system administrators are responsible for choosing client-identifiers that meet this requirement for uniqueness. The code for this option is 61, and its minimum length is 2.

Version:
$Rev: 638228 $, $Date: 2008-03-18 07:12:41 +0100 (Di, 18 M??r 2008) $
Author:
Apache Directory Project

Constructor Summary
ClientIdentifier()
           
 
Method Summary
 byte getTag()
          Get the option's code tag.
 
Methods inherited from class org.apache.directory.server.dhcp.options.DhcpOption
getClassByTag, getData, getTagByClass, setData, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientIdentifier

public ClientIdentifier()
Method Detail

getTag

public byte getTag()
Description copied from class: DhcpOption
Get the option's code tag.

Specified by:
getTag in class DhcpOption
Returns:
byte


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.