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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
    Decode incoming TLV.
    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)
    Encode TLV instance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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: BgpPrefixSidTlvRegistry
      Decode incoming TLV.
      Specified by:
      parseBgpPrefixSidTlv in interface BgpPrefixSidTlvRegistry
      Parameters:
      type - number of TLV
      buffer - 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: BgpPrefixSidTlvRegistry
      Encode TLV instance.
      Specified by:
      serializeBgpPrefixSidTlv in interface BgpPrefixSidTlvRegistry
      Parameters:
      tlv - instance
      bytes - encoded TLV outcome