Class SimpleBgpPrefixSidTlvRegistry
java.lang.Object
org.opendaylight.protocol.bgp.parser.spi.pojo.SimpleBgpPrefixSidTlvRegistry
- All Implemented Interfaces:
BgpPrefixSidTlvRegistry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparseBgpPrefixSidTlv
(int type, io.netty.buffer.ByteBuf buffer) Decode incoming TLV.void
serializeBgpPrefixSidTlv
(BgpPrefixSidTlv tlv, io.netty.buffer.ByteBuf bytes) Encode TLV instance.
-
Constructor Details
-
SimpleBgpPrefixSidTlvRegistry
public SimpleBgpPrefixSidTlvRegistry()
-
-
Method Details
-
parseBgpPrefixSidTlv
Description copied from interface:BgpPrefixSidTlvRegistry
Decode incoming TLV.- Specified by:
parseBgpPrefixSidTlv
in interfaceBgpPrefixSidTlvRegistry
- Parameters:
type
- number of TLVbuffer
- contains bytes of TLV- Returns:
- instance of specific TLV
-
serializeBgpPrefixSidTlv
Description copied from interface:BgpPrefixSidTlvRegistry
Encode TLV instance.- Specified by:
serializeBgpPrefixSidTlv
in interfaceBgpPrefixSidTlvRegistry
- Parameters:
tlv
- instancebytes
- encoded TLV outcome
-