Interface NextHopParserSerializer

    • Method Detail

      • parseNextHop

        default CNextHop parseNextHop​(io.netty.buffer.ByteBuf buffer)
                               throws BGPParsingException
        Parse Next hop from buffer.
        Parameters:
        buffer - Encoded Next Hop in ByteBuf.
        Returns:
        CNextHop
        Throws:
        BGPParsingException
      • serializeNextHop

        default void serializeNextHop​(CNextHop cnextHop,
                                      io.netty.buffer.ByteBuf byteAggregator)
        Serialize Next Hop.
        Parameters:
        cnextHop - Next Hop container
        byteAggregator - return Encoded Next Hop in ByteBuf