public interface MessageParser
| Modifier and Type | Method and Description |
|---|---|
org.opendaylight.yangtools.yang.binding.Notification |
parseMessageBody(io.netty.buffer.ByteBuf body,
int messageLength,
PeerSpecificParserConstraint constraint)
Parse BGP Message from buffer, potentially applying peer-specific constraints.
|
@Nonnull org.opendaylight.yangtools.yang.binding.Notification parseMessageBody(@Nonnull io.netty.buffer.ByteBuf body, int messageLength, @Nullable PeerSpecificParserConstraint constraint) throws org.opendaylight.protocol.bgp.parser.BGPDocumentedException
body - Encoded BGP message in ByteBuf.messageLength - Length of the BGP message.constraint - Peer specific constraints, implementations may ignore them.org.opendaylight.protocol.bgp.parser.BGPDocumentedExceptionCopyright © 2019 OpenDaylight. All rights reserved.