Class Tlv<I extends TlvInfo<?,V,?>,V>

java.lang.Object
ru.bitel.bgbilling.kernel.network.tlv.Tlv<I,V>
Direct Known Subclasses:
RadiusAttribute

public class Tlv<I extends TlvInfo<?,V,?>,V> extends Object
TypeLengthValue - тип, длина и значение
  • Field Details

    • info

      public final I extends TlvInfo<?,V,?> info
    • length

      protected final int length
    • data

      protected final ByteBuffer data
    • value

      protected V value
  • Constructor Details

    • Tlv

      public Tlv(I info, ByteBuffer data)
    • Tlv

      public Tlv(I info, byte[] data)
    • Tlv

      public Tlv(I info, V value)
    • Tlv

      public Tlv(I info, ByteBuffer data, V value)
  • Method Details

    • getData

      public ByteBuffer getData()
    • getDataAsByteArray

      public byte[] getDataAsByteArray()
    • getLength

      public int getLength()
    • getValue

      public V getValue()