Class LeafADHandler

java.lang.Object
org.opendaylight.protocol.bgp.mvpn.impl.nlri.AbstractMvpnNlri<LeafADCase>
org.opendaylight.protocol.bgp.mvpn.impl.nlri.LeafADHandler
All Implemented Interfaces:
MvpnParser<LeafADCase>, MvpnSerializer<LeafADCase>

public final class LeafADHandler extends AbstractMvpnNlri<LeafADCase>
https://tools.ietf.org/html/rfc6514#section-4.4.
Author:
Claudio D. Gasparini
  • Constructor Details

    • LeafADHandler

      public LeafADHandler()
  • Method Details

    • parseMvpn

      public LeafADCase parseMvpn(io.netty.buffer.ByteBuf buffer)
      Description copied from interface: MvpnParser
      Decode input buffer to BGP Mvpn.
      Parameters:
      buffer - encoded Mvpn body in Bytebuf
      Returns:
      Mvpn
    • serializeBody

      protected io.netty.buffer.ByteBuf serializeBody(LeafADCase mvpn)
      Specified by:
      serializeBody in class AbstractMvpnNlri<LeafADCase>