Schnittstelle ResolverClass.OnLookupByNameWithFlags

Umschließende Klasse:
ResolverClass
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface ResolverClass.OnLookupByNameWithFlags
  • Methodendetails

    • onLookupByNameWithFlags

      List onLookupByNameWithFlags(CallbackHandler __self, @Nonnull Resolver resolver, @Nonnull Str hostname, int flags, @Nullable Cancellable cancellable)
      Parameter:
      resolver - a #GResolver
      hostname - the hostname to look up
      flags - extra #GResolverNameLookupFlags for the lookup
      cancellable - a #GCancellable, or %NULL
      Gibt zurück:
      a non-empty #GList of #GInetAddress, or %NULL on error. You must unref each of the addresses and free the list when you are done with it. (You can use g_resolver_free_addresses() to do this.)