Class SimpleBgpPrefixSidTlvRegistry
- java.lang.Object
-
- org.opendaylight.protocol.bgp.parser.spi.pojo.SimpleBgpPrefixSidTlvRegistry
-
- All Implemented Interfaces:
BgpPrefixSidTlvRegistry
public final class SimpleBgpPrefixSidTlvRegistry extends Object implements BgpPrefixSidTlvRegistry
-
-
Constructor Summary
Constructors Constructor Description SimpleBgpPrefixSidTlvRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BgpPrefixSidTlvparseBgpPrefixSidTlv(int type, io.netty.buffer.ByteBuf buffer)Decode incoming TLV.voidserializeBgpPrefixSidTlv(BgpPrefixSidTlv tlv, io.netty.buffer.ByteBuf bytes)Encode TLV instance.
-
-
-
Method Detail
-
parseBgpPrefixSidTlv
public BgpPrefixSidTlv parseBgpPrefixSidTlv(int type, io.netty.buffer.ByteBuf buffer)
Description copied from interface:BgpPrefixSidTlvRegistryDecode incoming TLV.- Specified by:
parseBgpPrefixSidTlvin interfaceBgpPrefixSidTlvRegistry- Parameters:
type- number of TLVbuffer- contains bytes of TLV- Returns:
- instance of specific TLV
-
serializeBgpPrefixSidTlv
public void serializeBgpPrefixSidTlv(BgpPrefixSidTlv tlv, io.netty.buffer.ByteBuf bytes)
Description copied from interface:BgpPrefixSidTlvRegistryEncode TLV instance.- Specified by:
serializeBgpPrefixSidTlvin interfaceBgpPrefixSidTlvRegistry- Parameters:
tlv- instancebytes- encoded TLV outcome
-
-