java.lang.Object
org.opendaylight.protocol.bmp.spi.parser.TlvUtil

public final class TlvUtil extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    formatTlv(int type, io.netty.buffer.ByteBuf value, io.netty.buffer.ByteBuf out)
     
    static void
    formatTlvAscii(int type, String value, io.netty.buffer.ByteBuf out)
     
    static void
    formatTlvCounter32(int type, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 value, io.netty.buffer.ByteBuf out)
     
    static void
    formatTlvGauge64(int type, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Gauge64 value, io.netty.buffer.ByteBuf out)
     
    static void
    formatTlvShort16(int type, int value, io.netty.buffer.ByteBuf out)
     
    static void
    formatTlvUtf8(int type, String value, io.netty.buffer.ByteBuf out)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • formatTlv

      public static void formatTlv(int type, io.netty.buffer.ByteBuf value, io.netty.buffer.ByteBuf out)
    • formatTlvShort16

      public static void formatTlvShort16(int type, int value, io.netty.buffer.ByteBuf out)
    • formatTlvCounter32

      public static void formatTlvCounter32(int type, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 value, io.netty.buffer.ByteBuf out)
    • formatTlvGauge64

      public static void formatTlvGauge64(int type, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Gauge64 value, io.netty.buffer.ByteBuf out)
    • formatTlvUtf8

      public static void formatTlvUtf8(int type, String value, io.netty.buffer.ByteBuf out)
    • formatTlvAscii

      public static void formatTlvAscii(int type, String value, io.netty.buffer.ByteBuf out)