Interface BgpPrefixSidTlvRegistry
- All Known Implementing Classes:
SimpleBgpPrefixSidTlvRegistry
public interface BgpPrefixSidTlvRegistry
BGP prefix SID TLVs registry for encoding/decoding.
-
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.
-
Method Details
-
parseBgpPrefixSidTlv
Decode incoming TLV.- Parameters:
type
- number of TLVbuffer
- contains bytes of TLV- Returns:
- instance of specific TLV
-
serializeBgpPrefixSidTlv
Encode TLV instance.- Parameters:
tlv
- instancebytes
- encoded TLV outcome
-