Class CapabilityUtil
java.lang.Object
org.opendaylight.protocol.bgp.parser.spi.CapabilityUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
formatCapability
(int code, io.netty.buffer.ByteBuf value, io.netty.buffer.ByteBuf buffer) Adds header to capability value.
-
Method Details
-
formatCapability
public static void formatCapability(int code, io.netty.buffer.ByteBuf value, io.netty.buffer.ByteBuf buffer) Adds header to capability value.- Parameters:
code
- type of the capabilityvalue
- capability valuebuffer
- ByteBuf where the capability will be copied with its header
-