public interface AttributeRegistry
| Modifier and Type | Method and Description |
|---|---|
ParsedAttributes |
parseAttributes(io.netty.buffer.ByteBuf buffer,
PeerSpecificParserConstraint constraints)
Parse BGP Attribute from buffer.
|
void |
serializeAttribute(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev180329.path.attributes.Attributes attribute,
io.netty.buffer.ByteBuf byteAggregator)
Serialize BGP Attribute to buffer.
|
@Nonnull ParsedAttributes parseAttributes(@Nonnull io.netty.buffer.ByteBuf buffer, @Nullable PeerSpecificParserConstraint constraints) throws org.opendaylight.protocol.bgp.parser.BGPDocumentedException, org.opendaylight.protocol.bgp.parser.BGPParsingException
buffer - Input buffer.constraints - Peer specific constraint.org.opendaylight.protocol.bgp.parser.BGPDocumentedException - when an unrecoverable error occurs, which is documented via BGPErrororg.opendaylight.protocol.bgp.parser.BGPParsingException - when a general unrecoverable parsing error occursvoid serializeAttribute(@Nonnull org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev180329.path.attributes.Attributes attribute, @Nonnull io.netty.buffer.ByteBuf byteAggregator)
attribute - Input BGP Attribute.byteAggregator - Output buffer.Copyright © 2019 OpenDaylight. All rights reserved.