Interface NetworkService.CustomNameResolver

Enclosing class:

public static interface NetworkService.CustomNameResolver
A custom name resolver can support custom lookup keys (my_net_key:ipv4) and also change the default inet address used in case no settings is provided.
  • Method Details

    • resolveDefault

      InetAddress[] resolveDefault()
      Resolves the default value if possible. If not, return null.
    • resolveIfPossible

      InetAddress[] resolveIfPossible(String value) throws IOException
      Resolves a custom value handling, return null if can't handle it.