Class LLDPOrganizationalTLV


  • public class LLDPOrganizationalTLV
    extends LLDPTLV
    The class representing LLDP Organizationally Specific TLV.
    • Constructor Detail

      • LLDPOrganizationalTLV

        public LLDPOrganizationalTLV()
    • Method Detail

      • setOUI

        public LLDPOrganizationalTLV setOUI​(byte[] oui)
        Set the value of OUI.
        Parameters:
        oui - The value of OUI to be set.
        Returns:
        This LLDP Organizationally Specific TLV.
      • getOUI

        public byte[] getOUI()
        Returns the value of the OUI.
        Returns:
        The value of the OUI .
      • setSubType

        public LLDPOrganizationalTLV setSubType​(byte subType)
        Set the value of sub type.
        Parameters:
        subType - The value of sub type to be set.
        Returns:
        This LLDP Organizationally Specific TLV.
      • getSubType

        public byte getSubType()
        Returns the value of the sub type.
        Returns:
        The value of the sub type.
      • setInfoString

        public LLDPOrganizationalTLV setInfoString​(byte[] infoString)
        Set the value of information string.
        Parameters:
        infoString - the byte array of the value of information string.
        Returns:
        This LLDP Organizationally Specific TLV.
      • setInfoString

        public LLDPOrganizationalTLV setInfoString​(java.lang.String infoString)
        Set the value of information string. The String value is automatically converted into byte array with UTF-8 encoding.
        Parameters:
        infoString - the String value of information string.
        Returns:
        This LLDP Organizationally Specific TLV.
      • getInfoString

        public byte[] getInfoString()
        Returns the value of information string.
        Returns:
        the value of information string.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class LLDPTLV