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 int
getBmpMessageType()
org.opendaylight.yangtools.yang.binding.Notification
parseMessage(io.netty.buffer.ByteBuf bytes)
abstract org.opendaylight.yangtools.yang.binding.Notification
parseMessageBody(io.netty.buffer.ByteBuf bytes)
void
serializeMessage(org.opendaylight.yangtools.yang.binding.Notification message, io.netty.buffer.ByteBuf buffer)
abstract void
serializeMessageBody(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:
serializeMessage
in interfaceBmpMessageSerializer
-
parseMessage
public final org.opendaylight.yangtools.yang.binding.Notification parseMessage(io.netty.buffer.ByteBuf bytes) throws BmpDeserializationException
- Specified by:
parseMessage
in 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()
-
-