Class CapabilityParameterParser

java.lang.Object
org.opendaylight.protocol.bgp.parser.impl.message.open.CapabilityParameterParser
All Implemented Interfaces:
org.opendaylight.protocol.bgp.parser.spi.ParameterParser, org.opendaylight.protocol.bgp.parser.spi.ParameterSerializer

public final class CapabilityParameterParser extends Object implements org.opendaylight.protocol.bgp.parser.spi.ParameterParser, org.opendaylight.protocol.bgp.parser.spi.ParameterSerializer
Parser for BGP Capability Parameter.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    CapabilityParameterParser(org.opendaylight.protocol.bgp.parser.spi.CapabilityRegistry reg)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.open.message.BgpParameters
    parseParameter(io.netty.buffer.ByteBuf buffer)
     
    void
    serializeExtendedParameter(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.open.message.BgpParameters parameter, io.netty.buffer.ByteBuf output)
     
    void
    serializeParameter(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.open.message.BgpParameters parameter, io.netty.buffer.ByteBuf output)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • CapabilityParameterParser

      public CapabilityParameterParser(org.opendaylight.protocol.bgp.parser.spi.CapabilityRegistry reg)
  • Method Details

    • parseParameter

      public org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.open.message.BgpParameters parseParameter(io.netty.buffer.ByteBuf buffer) throws org.opendaylight.protocol.bgp.parser.BGPParsingException, org.opendaylight.protocol.bgp.parser.BGPDocumentedException
      Specified by:
      parseParameter in interface org.opendaylight.protocol.bgp.parser.spi.ParameterParser
      Throws:
      org.opendaylight.protocol.bgp.parser.BGPParsingException
      org.opendaylight.protocol.bgp.parser.BGPDocumentedException
    • serializeParameter

      public void serializeParameter(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.open.message.BgpParameters parameter, io.netty.buffer.ByteBuf output) throws org.opendaylight.protocol.bgp.parser.spi.ParameterLengthOverflowException
      Specified by:
      serializeParameter in interface org.opendaylight.protocol.bgp.parser.spi.ParameterSerializer
      Throws:
      org.opendaylight.protocol.bgp.parser.spi.ParameterLengthOverflowException
    • serializeExtendedParameter

      public void serializeExtendedParameter(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.open.message.BgpParameters parameter, io.netty.buffer.ByteBuf output)
      Specified by:
      serializeExtendedParameter in interface org.opendaylight.protocol.bgp.parser.spi.ParameterSerializer