Package ch.bailu.gtk.gio
Interface ResolverClass.OnLookupByName
- 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.
-
Method Summary
Modifier and TypeMethodDescriptiononLookupByName
(CallbackHandler __self, Resolver resolver, Str hostname, Cancellable cancellable)
-
Method Details
-
onLookupByName
List onLookupByName(CallbackHandler __self, @Nonnull Resolver resolver, @Nonnull Str hostname, @Nullable Cancellable cancellable) - Parameters:
resolver
- a #GResolverhostname
- the hostname to look upcancellable
- a #GCancellable, or %NULL- Returns:
- 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.)
-