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)
Parse BGP Message from buffer.
|
void |
serializeMessage(org.opendaylight.yangtools.yang.binding.Notification message,
io.netty.buffer.ByteBuf bytes) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseMessageBodypublic static final int TYPE
public Keepalive parseMessageBody(io.netty.buffer.ByteBuf body, int messageLength) throws BGPDocumentedException
MessageParserparseMessageBody in interface MessageParserbody - Encoded BGP message in ByteBuf.messageLength - Length of the BGP message.BGPDocumentedExceptionpublic void serializeMessage(org.opendaylight.yangtools.yang.binding.Notification message,
io.netty.buffer.ByteBuf bytes)
serializeMessage in interface MessageSerializerCopyright © 2019 OpenDaylight. All rights reserved.