Interface TunnelIdentifierSerializer<T extends TunnelIdentifier>

All Known Implementing Classes:
AbstractTunnelIdentifier, BidirPimTreeParser, IngressReplicationParser, MldpMp2mpLspParser, MldpP2mpLspParser, PimSmTreeParser, PimSsmTreeParser, RsvpTeP2MpLspParser

public interface TunnelIdentifierSerializer<T extends TunnelIdentifier>
  • Method Summary

    Modifier and Type
    Method
    Description
     
    int
    serialize(@NonNull T tunnelIdentifier, @NonNull io.netty.buffer.ByteBuf buffer)
    Serialize tunnel identifier.
  • Method Details

    • serialize

      int serialize(@NonNull T tunnelIdentifier, @NonNull io.netty.buffer.ByteBuf buffer)
      Serialize tunnel identifier.
      Parameters:
      tunnelIdentifier - Tunnel Identifier body
      buffer - Encoded Tunnel Identifier in ByteBuf
      Returns:
      Tunnel identifier Type
    • getClazz

      Class<? extends TunnelIdentifier> getClazz()