Interface LinkLayerDiscoveryProtocolElement

  • All Superinterfaces:
    Identified
    All Known Implementing Classes:
    LinkLayerDiscoveryProtocolElementContainer

    public interface LinkLayerDiscoveryProtocolElement
    extends Identified
    Represents an information element received by Link Layer Discovery Protocol (LLDP). IEEE 802.1AB defines type, length, value (TLV) as a "short, variable length encoding of an information element". This type represents such an information element. The attribute `name` is a human-readable string used to describe what the value is about, and may not be unique. The name is redundant, because it could be created from `type` and the optional `oui` and `subtype`. The purpose of `name` is to simplify the reading of the information element. The `name` of a property is exactly the same string which is used in IEEE 802.1AB chapter 8. Organizationally-specific information elements have the `type` of `127` and the attributes `oui` and `subtype`. For example, the XML representation of an information element may look like this: [source,xml] ---- Port VLAN Id 32962 vlan id 488 vlan name v2-0488-03-0505 3 127 ----
    • Method Detail

      • ouiAsByte

        Byte ouiAsByte()
      • ouiAsShort

        Short ouiAsShort()
      • ouiAsInteger

        Integer ouiAsInteger()
      • ouiAsLong

        Long ouiAsLong()
      • ouiPresent

        boolean ouiPresent()
      • propertiesPresent

        boolean propertiesPresent()
      • subtypeAsByte

        Byte subtypeAsByte()
      • subtypeAsShort

        Short subtypeAsShort()
      • subtypeAsInteger

        Integer subtypeAsInteger()
      • subtypeAsLong

        Long subtypeAsLong()
      • subtypePresent

        boolean subtypePresent()
      • typeAsByte

        Byte typeAsByte()
      • typeAsShort

        Short typeAsShort()
      • typeAsInteger

        Integer typeAsInteger()
      • typeAsLong

        Long typeAsLong()
      • typePresent

        boolean typePresent()