Class AbstractBmpPerPeerMessageParser<T>
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<T>
- All Implemented Interfaces:
BmpMessageParser
,BmpMessageSerializer
- Direct Known Subclasses:
PeerDownHandler
,PeerUpHandler
,RouteMirroringMessageHandler
,RouteMonitoringMessageHandler
,StatisticsReportHandler
-
Constructor Summary
ConstructorDescriptionAbstractBmpPerPeerMessageParser
(MessageRegistry bgpMssageRegistry) AbstractBmpPerPeerMessageParser
(MessageRegistry bgpMssageRegistry, BmpTlvRegistry tlvRegistry) -
Method Summary
Modifier and TypeMethodDescriptionprotected final MessageRegistry
protected static PeerHeader
parsePerPeerHeader
(io.netty.buffer.ByteBuf bytes) void
serializeMessageBody
(org.opendaylight.yangtools.yang.binding.Notification<?> message, io.netty.buffer.ByteBuf buffer) protected void
serializePerPeerHeader
(PeerHeader peerHeader, io.netty.buffer.ByteBuf output) Methods inherited from class org.opendaylight.protocol.bmp.spi.parser.AbstractBmpMessageWithTlvParser
addTlv, parseTlvs, serializeTlv
Methods inherited from class org.opendaylight.protocol.bmp.spi.parser.AbstractBmpMessageParser
getBmpMessageType, parseMessage, parseMessageBody, serializeMessage
-
Constructor Details
-
AbstractBmpPerPeerMessageParser
-
AbstractBmpPerPeerMessageParser
public AbstractBmpPerPeerMessageParser(MessageRegistry bgpMssageRegistry, BmpTlvRegistry tlvRegistry)
-
-
Method Details
-
serializeMessageBody
public void serializeMessageBody(org.opendaylight.yangtools.yang.binding.Notification<?> message, io.netty.buffer.ByteBuf buffer) - Specified by:
serializeMessageBody
in classAbstractBmpMessageParser
-
parsePerPeerHeader
-
serializePerPeerHeader
-
getBgpMessageRegistry
-