Class LLDPTLV

    • Field Detail

      • type

        protected byte type
      • length

        protected short length
      • value

        protected byte[] value
    • Constructor Detail

      • LLDPTLV

        public LLDPTLV()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getType

        public byte getType()
        Returns:
        the type
      • setType

        public LLDPTLV setType​(byte type)
        Parameters:
        type - the type to set
        Returns:
        this
      • getLength

        public short getLength()
        Returns:
        the length
      • setLength

        public LLDPTLV setLength​(short length)
        Parameters:
        length - the length to set
        Returns:
        this
      • getValue

        public byte[] getValue()
        Returns:
        the value
      • setValue

        public LLDPTLV setValue​(byte[] value)
        Parameters:
        value - the value to set
        Returns:
        this
      • serialize

        public byte[] serialize()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

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