public class BGPUpdateMessageParser 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 |
TOTAL_PATH_ATTR_LENGTH_SIZE
Size of the total_path_attr_length field, in bytes.
|
static int |
TYPE |
static int |
WITHDRAWN_ROUTES_LENGTH_SIZE
Size of the withdrawn_routes_length field, in bytes.
|
| Constructor and Description |
|---|
BGPUpdateMessageParser(org.opendaylight.protocol.bgp.parser.spi.AttributeRegistry reg) |
| Modifier and Type | Method and Description |
|---|---|
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev130919.Update |
parseMessageBody(io.netty.buffer.ByteBuf buffer,
int messageLength) |
void |
serializeMessage(org.opendaylight.yangtools.yang.binding.Notification message,
io.netty.buffer.ByteBuf bytes) |
public static final int TYPE
public static final int WITHDRAWN_ROUTES_LENGTH_SIZE
public static final int TOTAL_PATH_ATTR_LENGTH_SIZE
public BGPUpdateMessageParser(org.opendaylight.protocol.bgp.parser.spi.AttributeRegistry reg)
public org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev130919.Update parseMessageBody(io.netty.buffer.ByteBuf buffer,
int messageLength)
throws org.opendaylight.protocol.bgp.parser.BGPDocumentedException
parseMessageBody in interface org.opendaylight.protocol.bgp.parser.spi.MessageParserorg.opendaylight.protocol.bgp.parser.BGPDocumentedExceptionpublic void serializeMessage(org.opendaylight.yangtools.yang.binding.Notification message,
io.netty.buffer.ByteBuf bytes)
serializeMessage in interface org.opendaylight.protocol.bgp.parser.spi.MessageSerializerCopyright © 2015. All rights reserved.