## Uses of Class
com.h3c.util.pkt.DhcpOption.Code

- Packages that use DhcpOption.Code
  Package | Description
  --- | ---
  com.h3c.util.pkt |

- - ### Uses of DhcpOption.Code in com.h3c.util.pkt

    Methods in com.h3c.util.pkt that return DhcpOption.Code
    Modifier and Type | Method and Description
    --- | ---
    `DhcpOption.Code` | DhcpOption.`code()` Returns the option code.
    `DhcpOption.Code[]` | DhcpOption.`codes()` Returns a copy of the list of codes or null.
    `static DhcpOption.Code` | DhcpOption.Code.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static DhcpOption.Code[]` | DhcpOption.Code.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in com.h3c.util.pkt that return types with arguments of type DhcpOption.Code
    Modifier and Type | Method and Description
    --- | ---
    `EnumMap<DhcpOption.Code,DhcpOption>` | Dhcp.`options()` Returns the options in the form of a map to allow access based on `DhcpOption`.

    Constructors in com.h3c.util.pkt with parameters of type DhcpOption.Code
    Constructor and Description
    `DhcpOption(DhcpOption.Code code)` Constructor for a no-payload option.
    `DhcpOption(DhcpOption.Code code, byte[] bytes)` Constructor for a byte array (opaque) option.
    `DhcpOption(DhcpOption.Code code, DhcpOption.Code[] codes)` Constructor for an option holding a list of `DhcpOption.Code` values.
    `DhcpOption(DhcpOption.Code code, DhcpOption.Code[] codes)` Constructor for an option holding a list of `DhcpOption.Code` values.
    `DhcpOption(DhcpOption.Code code, IpAddress ipAddr)` Constructor for a IP address option.
    `DhcpOption(DhcpOption.Code code, IpAddress[] ipAddrs)` Constructor for an option holding a list of IP addresses.
    `DhcpOption(DhcpOption.Code code, long number)` Constructor for a scalar (number) option.
    `DhcpOption(DhcpOption.Code code, MacAddress macAddr)` Constructor for an option holding a MAC address.
    `DhcpOption(DhcpOption.Code code, String name)` Constructor for a string option.

Copyright © 2014. All Rights Reserved.