Package io.netty.util

Interface AsyncMapping<IN,OUT>

All Known Implementing Classes:
SniHandler.AsyncMappingAdapter

public interface AsyncMapping<IN,OUT>
  • Method Summary

    Modifier and Type
    Method
    Description
    map(IN input, Promise<OUT> promise)
    Returns the Future that will provide the result of the mapping.
  • Method Details

    • map

      Future<OUT> map(IN input, Promise<OUT> promise)
      Returns the Future that will provide the result of the mapping. The given Promise will be fulfilled when the result is available.