Class MldpMp2mpLspParser

    • Constructor Detail

      • MldpMp2mpLspParser

        public MldpMp2mpLspParser()
    • Method Detail

      • serialize

        public int serialize​(MldpMp2mpLsp 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
      • parse

        public MldpMp2mpLsp 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()