Class PeerUpHandler
java.lang.Object
org.opendaylight.protocol.bmp.spi.parser.AbstractBmpMessageParser
org.opendaylight.protocol.bmp.spi.parser.AbstractBmpMessageWithTlvParser<T>
org.opendaylight.protocol.bmp.spi.parser.AbstractBmpPerPeerMessageParser<InformationBuilder>
org.opendaylight.protocol.bmp.parser.message.PeerUpHandler
- All Implemented Interfaces:
BmpMessageParser
,BmpMessageSerializer
-
Constructor Summary
ConstructorDescriptionPeerUpHandler
(MessageRegistry bgpMssageRegistry, BmpTlvRegistry tlvRegistry) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addTlv
(InformationBuilder builder, Tlv tlv) int
parseMessageBody
(io.netty.buffer.ByteBuf bytes) void
serializeMessageBody
(org.opendaylight.yangtools.yang.binding.Notification<?> message, io.netty.buffer.ByteBuf buffer) Methods inherited from class org.opendaylight.protocol.bmp.spi.parser.AbstractBmpPerPeerMessageParser
getBgpMessageRegistry, parsePerPeerHeader, serializePerPeerHeader
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
-
PeerUpHandler
-
-
Method Details
-
serializeMessageBody
public void serializeMessageBody(org.opendaylight.yangtools.yang.binding.Notification<?> message, io.netty.buffer.ByteBuf buffer) - Overrides:
serializeMessageBody
in classAbstractBmpPerPeerMessageParser<InformationBuilder>
-
parseMessageBody
public PeerUpNotification parseMessageBody(io.netty.buffer.ByteBuf bytes) throws BmpDeserializationException - Specified by:
parseMessageBody
in classAbstractBmpMessageParser
- Throws:
BmpDeserializationException
-
addTlv
- Overrides:
addTlv
in classAbstractBmpMessageWithTlvParser<InformationBuilder>
-
getBmpMessageType
public int getBmpMessageType()- Specified by:
getBmpMessageType
in classAbstractBmpMessageParser
-