java.lang.Object
org.opendaylight.protocol.bgp.mvpn.spi.attributes.tunnel.identifier.AbstractTunnelIdentifier<PimSsmTree>
org.opendaylight.protocol.bgp.mvpn.impl.attributes.tunnel.identifier.PimSsmTreeParser
All Implemented Interfaces:
TunnelIdentifierParser<PimSsmTree>, TunnelIdentifierSerializer<PimSsmTree>

public final class PimSsmTreeParser extends AbstractTunnelIdentifier<PimSsmTree>
  • Constructor Details

    • PimSsmTreeParser

      public PimSsmTreeParser()
  • Method Details

    • serialize

      public int serialize(PimSsmTree tunnelIdentifier, io.netty.buffer.ByteBuf buffer)
      Description copied from interface: TunnelIdentifierSerializer
      Serialize tunnel identifier.
      Parameters:
      tunnelIdentifier - Tunnel Identifier body
      buffer - Encoded Tunnel Identifier in ByteBuf
      Returns:
      Tunnel identifier Type
    • getClazz

      public Class<? extends TunnelIdentifier> getClazz()
    • parse

      public PimSsmTree parse(io.netty.buffer.ByteBuf buffer)
      Description copied from interface: TunnelIdentifierParser
      Parse Tunnel Identifier from buffer.
      Parameters:
      buffer - Encoded Tunnel Identifier in ByteBuf.
      Returns:
      Parsed Tunnel Identifier body
    • getType

      public int getType()