Class StatisticsReportHandler

java.lang.Object
org.opendaylight.protocol.bmp.spi.parser.AbstractBmpMessageParser
org.opendaylight.protocol.bmp.spi.parser.AbstractBmpMessageWithTlvParser<T>
org.opendaylight.protocol.bmp.spi.parser.AbstractBmpPerPeerMessageParser<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.stat.TlvsBuilder>
org.opendaylight.protocol.bmp.parser.message.StatisticsReportHandler
All Implemented Interfaces:
org.opendaylight.protocol.bmp.spi.parser.BmpMessageParser, org.opendaylight.protocol.bmp.spi.parser.BmpMessageSerializer

public class StatisticsReportHandler extends org.opendaylight.protocol.bmp.spi.parser.AbstractBmpPerPeerMessageParser<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.stat.TlvsBuilder>
  • Constructor Summary

    Constructors
    Constructor
    Description
    StatisticsReportHandler(org.opendaylight.protocol.bgp.parser.spi.MessageRegistry bgpMssageRegistry, org.opendaylight.protocol.bmp.spi.parser.BmpTlvRegistry tlvRegistry)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    addTlv(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.stat.TlvsBuilder builder, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.Tlv tlv)
     
    int
     
    org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.StatsReportsMessage
    parseMessageBody(io.netty.buffer.ByteBuf bytes)
     
    void
    serializeMessageBody(org.opendaylight.yangtools.yang.binding.Notification<?> message, io.netty.buffer.ByteBuf buffer)
     

    Methods inherited from class org.opendaylight.protocol.bmp.spi.parser.AbstractBmpPerPeerMessageParser

    getBgpMessageRegistry, parsePerPeerHeader, serializePerPeerHeader

    Methods inherited from class org.opendaylight.protocol.bmp.spi.parser.AbstractBmpMessageWithTlvParser

    parseTlvs, serializeTlv

    Methods inherited from class org.opendaylight.protocol.bmp.spi.parser.AbstractBmpMessageParser

    parseMessage, serializeMessage

    Methods inherited from class java.lang.Object

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

    • StatisticsReportHandler

      public StatisticsReportHandler(org.opendaylight.protocol.bgp.parser.spi.MessageRegistry bgpMssageRegistry, org.opendaylight.protocol.bmp.spi.parser.BmpTlvRegistry tlvRegistry)
  • Method Details

    • serializeMessageBody

      public void serializeMessageBody(org.opendaylight.yangtools.yang.binding.Notification<?> message, io.netty.buffer.ByteBuf buffer)
      Overrides:
      serializeMessageBody in class org.opendaylight.protocol.bmp.spi.parser.AbstractBmpPerPeerMessageParser<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.stat.TlvsBuilder>
    • parseMessageBody

      public org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.StatsReportsMessage parseMessageBody(io.netty.buffer.ByteBuf bytes) throws org.opendaylight.protocol.bmp.spi.parser.BmpDeserializationException
      Specified by:
      parseMessageBody in class org.opendaylight.protocol.bmp.spi.parser.AbstractBmpMessageParser
      Throws:
      org.opendaylight.protocol.bmp.spi.parser.BmpDeserializationException
    • getBmpMessageType

      public int getBmpMessageType()
      Specified by:
      getBmpMessageType in class org.opendaylight.protocol.bmp.spi.parser.AbstractBmpMessageParser
    • addTlv

      protected void addTlv(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.stat.TlvsBuilder builder, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.Tlv tlv)
      Overrides:
      addTlv in class org.opendaylight.protocol.bmp.spi.parser.AbstractBmpMessageWithTlvParser<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.stat.TlvsBuilder>