Class PeerDownHandler
- 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<PeerDownNotificationBuilder>
-
- org.opendaylight.protocol.bmp.parser.message.PeerDownHandler
-
- All Implemented Interfaces:
BmpMessageParser
,BmpMessageSerializer
public class PeerDownHandler extends AbstractBmpPerPeerMessageParser<PeerDownNotificationBuilder>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PeerDownHandler.Reason
-
Constructor Summary
Constructors Constructor Description PeerDownHandler(MessageRegistry bgpMssageRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBmpMessageType()
org.opendaylight.yangtools.yang.binding.Notification
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
addTlv, parseTlvs, serializeTlv
-
Methods inherited from class org.opendaylight.protocol.bmp.spi.parser.AbstractBmpMessageParser
parseMessage, serializeMessage
-
-
-
-
Constructor Detail
-
PeerDownHandler
public PeerDownHandler(MessageRegistry bgpMssageRegistry)
-
-
Method Detail
-
serializeMessageBody
public void serializeMessageBody(org.opendaylight.yangtools.yang.binding.Notification message, io.netty.buffer.ByteBuf buffer)
- Overrides:
serializeMessageBody
in classAbstractBmpPerPeerMessageParser<PeerDownNotificationBuilder>
-
parseMessageBody
public org.opendaylight.yangtools.yang.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
-
-