public interface MessageRegistry
| Modifier and Type | Method and Description |
|---|---|
org.opendaylight.yangtools.yang.binding.Notification |
parseMessage(io.netty.buffer.ByteBuf bytes,
PeerSpecificParserConstraint constraint)
Decode input buffer to BGP Message.
|
void |
serializeMessage(org.opendaylight.yangtools.yang.binding.Notification message,
io.netty.buffer.ByteBuf buffer)
Encode input BGP Message to output buffer.
|
@Nonnull org.opendaylight.yangtools.yang.binding.Notification parseMessage(@Nonnull io.netty.buffer.ByteBuf bytes, @Nullable PeerSpecificParserConstraint constraint) throws BGPDocumentedException, BGPParsingException
bytes - Input buffer with encoded message.constraint - Peer specific constraint.BGPDocumentedExceptionBGPParsingExceptionvoid serializeMessage(@Nonnull org.opendaylight.yangtools.yang.binding.Notification message, @Nonnull io.netty.buffer.ByteBuf buffer)
message - Input BGP Message to be serialized.buffer - Output buffer where message is to be written.Copyright © 2019 OpenDaylight. All rights reserved.