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

public final class IngressReplicationParser extends AbstractTunnelIdentifier<IngressReplication>
  • Constructor Details

    • IngressReplicationParser

      public IngressReplicationParser()
  • Method Details

    • serialize

      public int serialize(IngressReplication 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 IngressReplication 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()