Interface ChannelPoolResolver

  • All Known Implementing Classes:
    BasicDnsResolver

    public interface ChannelPoolResolver
    A simple interface for an asynchronous InetSocketAddress resolver.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      io.netty.util.concurrent.Future<java.net.InetSocketAddress> resolve​(java.net.InetSocketAddress address, io.netty.util.concurrent.Promise<java.net.InetSocketAddress> promise)
      Asynchronously resolves the supplied InetSocketAddress and completes the promise when done.
    • Method Detail

      • resolve

        @CheckReturnValue
        @Nonnull
        io.netty.util.concurrent.Future<java.net.InetSocketAddress> resolve​(@Nonnull
                                                                            java.net.InetSocketAddress address,
                                                                            @Nonnull
                                                                            io.netty.util.concurrent.Promise<java.net.InetSocketAddress> promise)
        Asynchronously resolves the supplied InetSocketAddress and completes the promise when done.
        Parameters:
        address - address to resolve.
        promise - promise to complete.
        Returns:
        promise