public final class BGPNotificationMessageParser extends Object implements MessageParser, MessageSerializer
| Modifier and Type | Field and Description | 
|---|---|
| static int | TYPE | 
| Constructor and Description | 
|---|
| BGPNotificationMessageParser() | 
| Modifier and Type | Method and Description | 
|---|---|
| Notify | parseMessageBody(io.netty.buffer.ByteBuf body,
                int messageLength)Parses BGP Notification message to bytes. | 
| void | serializeMessage(org.opendaylight.yangtools.yang.binding.Notification msg,
                io.netty.buffer.ByteBuf bytes)Serializes BGP Notification message. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseMessageBodypublic static final int TYPE
public void serializeMessage(org.opendaylight.yangtools.yang.binding.Notification msg,
                             io.netty.buffer.ByteBuf bytes)
serializeMessage in interface MessageSerializermsg - to be serializedbytes - ByteBuf where the message will be serializedpublic Notify parseMessageBody(io.netty.buffer.ByteBuf body, int messageLength) throws BGPDocumentedException
parseMessageBody in interface MessageParserbody - ByteBuf to be parsedmessageLength - the length of the messageNotify which represents BGP notification messageBGPDocumentedException - if parsing goes wrongCopyright © 2018 OpenDaylight. All rights reserved.