public interface AttributeRegistry
Modifier and Type | Method and Description |
---|---|
Attributes |
parseAttributes(io.netty.buffer.ByteBuf buffer,
PeerSpecificParserConstraint constraints)
Parse BGP Attribute from buffer.
|
void |
serializeAttribute(Attributes attribute,
io.netty.buffer.ByteBuf byteAggregator)
Serialize BGP Attribute to buffer.
|
@Nonnull Attributes parseAttributes(@Nonnull io.netty.buffer.ByteBuf buffer, @Nullable PeerSpecificParserConstraint constraints) throws BGPDocumentedException, BGPParsingException
buffer
- Input buffer.constraints
- Peer specific constraint.BGPDocumentedException
BGPParsingException
void serializeAttribute(@Nonnull Attributes attribute, @Nonnull io.netty.buffer.ByteBuf byteAggregator)
attribute
- Input BGP Attribute.byteAggregator
- Output buffer.Copyright © 2019 OpenDaylight. All rights reserved.