com.h3c.util.pkt

## Interface Protocol

- All Known Implementing Classes:
    Arp, Bddp, Dhcp, DhcpV6, Dns, Ethernet, Icmp, IcmpV6, Ip, IpV6, Lldp, Mpls, PppEthernet, Sctp, Tcp, Udp, UnknownProtocol

      public interface Protocol

  A network protocol (immutable).

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ProtocolId` | `id()` Returns the protocol ID.
    `String` | `toDebugString()` Returns the protocol debug string.

- - ### Method Detail

    - #### id

          ProtocolId id()

      Returns the protocol ID.
      Returns:
        protocol ID

    - #### toDebugString

          String toDebugString()

      Returns the protocol debug string.
      Returns:
        the protocol debug string

Copyright © 2014. All Rights Reserved.