public final class BGPRouteRefreshMessageParser extends Object implements org.opendaylight.protocol.bgp.parser.spi.MessageParser, org.opendaylight.protocol.bgp.parser.spi.MessageSerializer
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE |
| Constructor and Description |
|---|
BGPRouteRefreshMessageParser(org.opendaylight.protocol.bgp.parser.spi.AddressFamilyRegistry afiReg,
org.opendaylight.protocol.bgp.parser.spi.SubsequentAddressFamilyRegistry safiReg) |
| Modifier and Type | Method and Description |
|---|---|
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev171207.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.
|
public static final int TYPE
public BGPRouteRefreshMessageParser(org.opendaylight.protocol.bgp.parser.spi.AddressFamilyRegistry afiReg,
org.opendaylight.protocol.bgp.parser.spi.SubsequentAddressFamilyRegistry safiReg)
public void serializeMessage(org.opendaylight.yangtools.yang.binding.Notification message,
io.netty.buffer.ByteBuf bytes)
serializeMessage in interface org.opendaylight.protocol.bgp.parser.spi.MessageSerializermessage - to be serializedbytes - ByteBuf where the message will be serializedpublic org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev171207.RouteRefresh parseMessageBody(io.netty.buffer.ByteBuf body,
int messageLength)
throws org.opendaylight.protocol.bgp.parser.BGPDocumentedException
parseMessageBody in interface org.opendaylight.protocol.bgp.parser.spi.MessageParserbody - ByteBuf to be parsedmessageLength - the length of the messageRouteRefresh which represents BGP notification messageorg.opendaylight.protocol.bgp.parser.BGPDocumentedException - if parsing goes wrongCopyright © 2018 OpenDaylight. All rights reserved.