Class AbstractBmpMessageWithTlvParser<T>
- java.lang.Object
-
- org.opendaylight.protocol.bmp.spi.parser.AbstractBmpMessageParser
-
- org.opendaylight.protocol.bmp.spi.parser.AbstractBmpMessageWithTlvParser<T>
-
- All Implemented Interfaces:
BmpMessageParser
,BmpMessageSerializer
- Direct Known Subclasses:
AbstractBmpPerPeerMessageParser
,InitiationHandler
,TerminationHandler
public abstract class AbstractBmpMessageWithTlvParser<T> extends AbstractBmpMessageParser
-
-
Constructor Summary
Constructors Constructor Description AbstractBmpMessageWithTlvParser(BmpTlvRegistry tlvRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addTlv(T builder, Tlv tlv)
protected void
parseTlvs(T builder, io.netty.buffer.ByteBuf bytes)
protected void
serializeTlv(Tlv tlv, io.netty.buffer.ByteBuf buffer)
-
Methods inherited from class org.opendaylight.protocol.bmp.spi.parser.AbstractBmpMessageParser
getBmpMessageType, parseMessage, parseMessageBody, serializeMessage, serializeMessageBody
-
-
-
-
Constructor Detail
-
AbstractBmpMessageWithTlvParser
public AbstractBmpMessageWithTlvParser(BmpTlvRegistry tlvRegistry)
-
-
Method Detail
-
parseTlvs
protected final void parseTlvs(T builder, io.netty.buffer.ByteBuf bytes) throws BmpDeserializationException
- Throws:
BmpDeserializationException
-
serializeTlv
protected final void serializeTlv(Tlv tlv, io.netty.buffer.ByteBuf buffer)
-
-