public final class BGPKeepAliveMessageParser extends Object implements MessageParser, MessageSerializer
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE |
| Constructor and Description |
|---|
BGPKeepAliveMessageParser() |
| Modifier and Type | Method and Description |
|---|---|
Keepalive |
parseMessageBody(io.netty.buffer.ByteBuf body,
int messageLength,
PeerSpecificParserConstraint constraint)
Parse BGP Message from buffer, potentially applying peer-specific constraints.
|
void |
serializeMessage(org.opendaylight.yangtools.yang.binding.Notification message,
io.netty.buffer.ByteBuf bytes) |
public static final int TYPE
public Keepalive parseMessageBody(io.netty.buffer.ByteBuf body, int messageLength, PeerSpecificParserConstraint constraint) throws BGPDocumentedException
MessageParserparseMessageBody in interface MessageParserbody - Encoded BGP message in ByteBuf.messageLength - Length of the BGP message.constraint - Peer specific constraints, implementations may ignore them.BGPDocumentedExceptionpublic void serializeMessage(org.opendaylight.yangtools.yang.binding.Notification message,
io.netty.buffer.ByteBuf bytes)
serializeMessage in interface MessageSerializerCopyright © 2020 OpenDaylight. All rights reserved.