Class TerminationHandler
- java.lang.Object
-
- org.opendaylight.protocol.bmp.spi.parser.AbstractBmpMessageParser
-
- org.opendaylight.protocol.bmp.spi.parser.AbstractBmpMessageWithTlvParser<TlvsBuilder>
-
- org.opendaylight.protocol.bmp.parser.message.TerminationHandler
-
- All Implemented Interfaces:
BmpMessageParser
,BmpMessageSerializer
public class TerminationHandler extends AbstractBmpMessageWithTlvParser<TlvsBuilder>
-
-
Constructor Summary
Constructors Constructor Description TerminationHandler(BmpTlvRegistry tlvRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addTlv(TlvsBuilder builder, Tlv tlv)
int
getBmpMessageType()
TerminationMessage
parseMessageBody(io.netty.buffer.ByteBuf bytes)
void
serializeMessageBody(org.opendaylight.yangtools.yang.binding.Notification<?> message, io.netty.buffer.ByteBuf buffer)
protected void
serializeTlvs(Tlvs tlvs, io.netty.buffer.ByteBuf output)
-
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
-
-
-
-
Constructor Detail
-
TerminationHandler
public TerminationHandler(BmpTlvRegistry tlvRegistry)
-
-
Method Detail
-
parseMessageBody
public TerminationMessage parseMessageBody(io.netty.buffer.ByteBuf bytes) throws BmpDeserializationException
- Specified by:
parseMessageBody
in classAbstractBmpMessageParser
- Throws:
BmpDeserializationException
-
serializeMessageBody
public void serializeMessageBody(org.opendaylight.yangtools.yang.binding.Notification<?> message, io.netty.buffer.ByteBuf buffer)
- Specified by:
serializeMessageBody
in classAbstractBmpMessageParser
-
getBmpMessageType
public int getBmpMessageType()
- Specified by:
getBmpMessageType
in classAbstractBmpMessageParser
-
serializeTlvs
protected void serializeTlvs(Tlvs tlvs, io.netty.buffer.ByteBuf output)
-
addTlv
protected void addTlv(TlvsBuilder builder, Tlv tlv)
- Overrides:
addTlv
in classAbstractBmpMessageWithTlvParser<TlvsBuilder>
-
-