Class InitiationHandler
java.lang.Object
org.opendaylight.protocol.bmp.spi.parser.AbstractBmpMessageParser
org.opendaylight.protocol.bmp.spi.parser.AbstractBmpMessageWithTlvParser<TlvsBuilder>
org.opendaylight.protocol.bmp.parser.message.InitiationHandler
- All Implemented Interfaces:
BmpMessageParser
,BmpMessageSerializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addTlv
(TlvsBuilder builder, Tlv tlv) int
org.opendaylight.yangtools.binding.Notification
<?> parseMessageBody
(io.netty.buffer.ByteBuf bytes) void
serializeMessageBody
(org.opendaylight.yangtools.binding.Notification<?> message, io.netty.buffer.ByteBuf buffer) 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 Details
-
InitiationHandler
-
-
Method Details
-
serializeMessageBody
public void serializeMessageBody(org.opendaylight.yangtools.binding.Notification<?> message, io.netty.buffer.ByteBuf buffer) - Specified by:
serializeMessageBody
in classAbstractBmpMessageParser
-
parseMessageBody
public org.opendaylight.yangtools.binding.Notification<?> parseMessageBody(io.netty.buffer.ByteBuf bytes) throws BmpDeserializationException - Specified by:
parseMessageBody
in classAbstractBmpMessageParser
- Throws:
BmpDeserializationException
-
getBmpMessageType
public int getBmpMessageType()- Specified by:
getBmpMessageType
in classAbstractBmpMessageParser
-
addTlv
- Overrides:
addTlv
in classAbstractBmpMessageWithTlvParser<TlvsBuilder>
-