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 Summary
Constructors Constructor Description AbstractBmpMessageParser()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract intgetBmpMessageType()org.opendaylight.yangtools.yang.binding.NotificationparseMessage(io.netty.buffer.ByteBuf bytes)abstract org.opendaylight.yangtools.yang.binding.NotificationparseMessageBody(io.netty.buffer.ByteBuf bytes)voidserializeMessage(org.opendaylight.yangtools.yang.binding.Notification message, io.netty.buffer.ByteBuf buffer)abstract voidserializeMessageBody(org.opendaylight.yangtools.yang.binding.Notification message, io.netty.buffer.ByteBuf buffer)
-
-
-
Method Detail
-
serializeMessage
public final void serializeMessage(org.opendaylight.yangtools.yang.binding.Notification message, io.netty.buffer.ByteBuf buffer)- Specified by:
serializeMessagein interfaceBmpMessageSerializer
-
parseMessage
public final org.opendaylight.yangtools.yang.binding.Notification parseMessage(io.netty.buffer.ByteBuf bytes) throws BmpDeserializationException- Specified by:
parseMessagein interfaceBmpMessageParser- 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()
-
-