Class AbstractBmpMessageParser

java.lang.Object
org.opendaylight.protocol.bmp.spi.parser.AbstractBmpMessageParser
All Implemented Interfaces:
BmpMessageParser, BmpMessageSerializer
Direct Known Subclasses:
AbstractBmpMessageWithTlvParser

public abstract class AbstractBmpMessageParser extends Object implements BmpMessageParser, BmpMessageSerializer
  • Constructor Details

    • AbstractBmpMessageParser

      public AbstractBmpMessageParser()
  • Method Details

    • serializeMessage

      public final void serializeMessage(org.opendaylight.yangtools.yang.binding.Notification<?> message, io.netty.buffer.ByteBuf buffer)
      Specified by:
      serializeMessage in interface BmpMessageSerializer
    • parseMessage

      public final org.opendaylight.yangtools.yang.binding.Notification<?> parseMessage(io.netty.buffer.ByteBuf bytes) throws BmpDeserializationException
      Specified by:
      parseMessage in interface BmpMessageParser
      Throws:
      BmpDeserializationException
    • serializeMessageBody

      public abstract void serializeMessageBody(org.opendaylight.yangtools.yang.binding.Notification<?> message, io.netty.buffer.ByteBuf buffer)
    • parseMessageBody

      public abstract org.opendaylight.yangtools.yang.binding.Notification<?> parseMessageBody(io.netty.buffer.ByteBuf bytes) throws BmpDeserializationException
      Throws:
      BmpDeserializationException
    • getBmpMessageType

      public abstract int getBmpMessageType()