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, wait
parseMessageBody
public static final int TYPE
public Keepalive parseMessageBody(io.netty.buffer.ByteBuf body, int messageLength) throws BGPDocumentedException
MessageParser
parseMessageBody
in interface MessageParser
body
- Encoded BGP message in ByteBuf.messageLength
- Length of the BGP message.BGPDocumentedException
public void serializeMessage(org.opendaylight.yangtools.yang.binding.Notification message, io.netty.buffer.ByteBuf bytes)
serializeMessage
in interface MessageSerializer
Copyright © 2019 OpenDaylight. All rights reserved.