com.h3c.util.pkt

## Interface ProtocolEnum

- All Known Implementing Classes:
    Arp.OpCode, Dhcp.Flag, Dhcp.OpCode, DhcpOption.Code, DhcpOption.MessageType, DhcpOptionV6.Type, DhcpV6.MessageType, Dns.ClassType, Dns.OpCode, Dns.RecordType, Dns.ResponseCode, Dns.SigData.Algorithm, Ethernet.Control, Ethernet.Dsap, Ethernet.Ssap, Ethernet.VlanPriority, HardwareType, IcmpOptionV6.Type, IcmpTypeCode, IcmpTypeCodeV6, IpTosDsfc, IpTosEcn, IpType, IpVersion, LldpTlv.Capability, LldpTlv.ChassisIdSubType, LldpTlv.PortIdSubType, LldpTlv.Type, PppEthernet.Code, PppEthernet.PppProtocolId, Sctp.Chunk.Type

      public interface ProtocolEnum

  Interface implemented by all protocol enumerations to provide code.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `code()` Returns the code value for the enumeration constant.

- - ### Method Detail

    - #### code

          int code()

      Returns the code value for the enumeration constant.
      Returns:
        the code value

Copyright © 2014. All Rights Reserved.