Class Ipv6BgpPrefixSidParser
java.lang.Object
org.opendaylight.protocol.bgp.inet.codec.Ipv6BgpPrefixSidParser
- All Implemented Interfaces:
BgpPrefixSidTlvParser
,BgpPrefixSidTlvSerializer
public final class Ipv6BgpPrefixSidParser
extends Object
implements BgpPrefixSidTlvParser, BgpPrefixSidTlvSerializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getType()
parseBgpPrefixSidTlv
(io.netty.buffer.ByteBuf buffer) Method for parsing specific types of TLVs from incoming buffer.void
serializeBgpPrefixSidTlv
(BgpPrefixSidTlv tlv, io.netty.buffer.ByteBuf bytes) Method for serializing specific types of TLVs from incoming buffer.
-
Constructor Details
-
Ipv6BgpPrefixSidParser
public Ipv6BgpPrefixSidParser()
-
-
Method Details
-
serializeBgpPrefixSidTlv
Description copied from interface:BgpPrefixSidTlvSerializer
Method for serializing specific types of TLVs from incoming buffer.- Specified by:
serializeBgpPrefixSidTlv
in interfaceBgpPrefixSidTlvSerializer
- Parameters:
tlv
- instancebytes
- outcome serialized TLV
-
parseBgpPrefixSidTlv
Description copied from interface:BgpPrefixSidTlvParser
Method for parsing specific types of TLVs from incoming buffer.- Specified by:
parseBgpPrefixSidTlv
in interfaceBgpPrefixSidTlvParser
- Parameters:
buffer
- with TLV bytes- Returns:
- instance of specific TLV
-
getType
public int getType()- Specified by:
getType
in interfaceBgpPrefixSidTlvSerializer
-