Interface ResolverClass.OnLookupByAddress

Enclosing class:
ResolverClass
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ResolverClass.OnLookupByAddress
  • Method Details

    • onLookupByAddress

      Str onLookupByAddress(CallbackHandler __self, @Nonnull Resolver resolver, @Nonnull InetAddress address, @Nullable Cancellable cancellable)
      Parameters:
      resolver - a #GResolver
      address - the address to reverse-resolve
      cancellable - a #GCancellable, or %NULL
      Returns:
      a hostname (either ASCII-only, or in ASCII-encoded form), or %NULL on error.