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
public abstract class AbstractBmpPerPeerMessageParser<T> extends AbstractBmpMessageWithTlvParser<T>
-
-
Constructor Summary
Constructors Constructor Description AbstractBmpPerPeerMessageParser(MessageRegistry bgpMssageRegistry)
AbstractBmpPerPeerMessageParser(MessageRegistry bgpMssageRegistry, BmpTlvRegistry tlvRegistry)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MessageRegistry
getBgpMessageRegistry()
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 Detail
-
AbstractBmpPerPeerMessageParser
public AbstractBmpPerPeerMessageParser(MessageRegistry bgpMssageRegistry)
-
AbstractBmpPerPeerMessageParser
public AbstractBmpPerPeerMessageParser(MessageRegistry bgpMssageRegistry, BmpTlvRegistry tlvRegistry)
-
-
Method Detail
-
serializeMessageBody
public void serializeMessageBody(org.opendaylight.yangtools.yang.binding.Notification<?> message, io.netty.buffer.ByteBuf buffer)
- Specified by:
serializeMessageBody
in classAbstractBmpMessageParser
-
parsePerPeerHeader
protected static PeerHeader parsePerPeerHeader(io.netty.buffer.ByteBuf bytes)
-
serializePerPeerHeader
protected void serializePerPeerHeader(PeerHeader peerHeader, io.netty.buffer.ByteBuf output)
-
getBgpMessageRegistry
protected final MessageRegistry getBgpMessageRegistry()
-
-