public final class BGPUpdateMessageParser 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 |
|---|
BGPUpdateMessageParser(org.opendaylight.protocol.bgp.parser.spi.AttributeRegistry reg) |
| Modifier and Type | Method and Description |
|---|---|
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev171207.Update |
parseMessageBody(io.netty.buffer.ByteBuf buffer,
int messageLength) |
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev171207.Update |
parseMessageBody(io.netty.buffer.ByteBuf buffer,
int messageLength,
org.opendaylight.protocol.bgp.parser.spi.PeerSpecificParserConstraint constraint)
Parse Update message from buffer.
|
void |
serializeMessage(org.opendaylight.yangtools.yang.binding.Notification message,
io.netty.buffer.ByteBuf bytes) |
public static final int TYPE
public BGPUpdateMessageParser(org.opendaylight.protocol.bgp.parser.spi.AttributeRegistry reg)
public org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev171207.Update parseMessageBody(io.netty.buffer.ByteBuf buffer,
int messageLength)
throws org.opendaylight.protocol.bgp.parser.BGPDocumentedException
parseMessageBody in interface org.opendaylight.protocol.bgp.parser.spi.MessageParserorg.opendaylight.protocol.bgp.parser.BGPDocumentedExceptionpublic void serializeMessage(org.opendaylight.yangtools.yang.binding.Notification message,
io.netty.buffer.ByteBuf bytes)
serializeMessage in interface org.opendaylight.protocol.bgp.parser.spi.MessageSerializerpublic org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev171207.Update parseMessageBody(io.netty.buffer.ByteBuf buffer,
int messageLength,
org.opendaylight.protocol.bgp.parser.spi.PeerSpecificParserConstraint constraint)
throws org.opendaylight.protocol.bgp.parser.BGPDocumentedException
checkMandatoryAttributesPresence(Update) to check for presence of mandatory attributes.parseMessageBody in interface org.opendaylight.protocol.bgp.parser.spi.MessageParserbuffer - Encoded BGP message in ByteBufmessageLength - Length of the BGP messageconstraint - Peer specific constraintsorg.opendaylight.protocol.bgp.parser.BGPDocumentedExceptionCopyright © 2018 OpenDaylight. All rights reserved.