Class SimpleBgpPrefixSidTlvRegistry
java.lang.Object
org.opendaylight.protocol.bgp.parser.spi.pojo.SimpleBgpPrefixSidTlvRegistry
- All Implemented Interfaces:
BgpPrefixSidTlvRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.bgp.prefix.sid.bgp.prefix.sid.tlvs.BgpPrefixSidTlvparseBgpPrefixSidTlv(int type, io.netty.buffer.ByteBuf buffer) Decode incoming TLV.voidserializeBgpPrefixSidTlv(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.bgp.prefix.sid.bgp.prefix.sid.tlvs.BgpPrefixSidTlv tlv, io.netty.buffer.ByteBuf bytes) Encode TLV instance.
-
Constructor Details
-
SimpleBgpPrefixSidTlvRegistry
public SimpleBgpPrefixSidTlvRegistry()
-
-
Method Details
-
parseBgpPrefixSidTlv
public org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.bgp.prefix.sid.bgp.prefix.sid.tlvs.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(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.bgp.prefix.sid.bgp.prefix.sid.tlvs.BgpPrefixSidTlv tlv, io.netty.buffer.ByteBuf bytes) Description copied from interface:BgpPrefixSidTlvRegistryEncode TLV instance.- Specified by:
serializeBgpPrefixSidTlvin interfaceBgpPrefixSidTlvRegistry- Parameters:
tlv- instancebytes- encoded TLV outcome
-