public final class BGPNotificationMessageParser extends Object implements org.opendaylight.protocol.bgp.parser.spi.MessageParser, org.opendaylight.protocol.bgp.parser.spi.MessageSerializer
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE |
| Constructor and Description |
|---|
BGPNotificationMessageParser() |
| Modifier and Type | Method and Description |
|---|---|
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev171207.Notify |
parseMessageBody(io.netty.buffer.ByteBuf body,
int messageLength)
Parses BGP Notification message to bytes.
|
void |
serializeMessage(org.opendaylight.yangtools.yang.binding.Notification msg,
io.netty.buffer.ByteBuf bytes)
Serializes BGP Notification message.
|
public static final int TYPE
public void serializeMessage(org.opendaylight.yangtools.yang.binding.Notification msg,
io.netty.buffer.ByteBuf bytes)
serializeMessage in interface org.opendaylight.protocol.bgp.parser.spi.MessageSerializermsg - to be serializedbytes - ByteBuf where the message will be serializedpublic org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev171207.Notify parseMessageBody(io.netty.buffer.ByteBuf body,
int messageLength)
throws org.opendaylight.protocol.bgp.parser.BGPDocumentedException
parseMessageBody in interface org.opendaylight.protocol.bgp.parser.spi.MessageParserbody - ByteBuf to be parsedmessageLength - the length of the messageNotify which represents BGP notification messageorg.opendaylight.protocol.bgp.parser.BGPDocumentedException - if parsing goes wrongCopyright © 2018 OpenDaylight. All rights reserved.