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