Schnittstelle ResolverClass.OnLookupRecords

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.OnLookupRecords
  • Methodendetails

    • onLookupRecords

      List onLookupRecords(CallbackHandler __self, @Nonnull Resolver resolver, @Nonnull Str rrname, int record_type, @Nullable Cancellable cancellable)
      Parameter:
      resolver - a #GResolver
      rrname - the DNS name to look up the record for
      record_type - the type of DNS record to look up
      cancellable - a #GCancellable, or %NULL
      Gibt zurück:
      a non-empty #GList of #GVariant, or %NULL on error. You must free each of the records and the list when you are done with it. (You can use g_list_free_full() with g_variant_unref() to do this.)