Package ch.bailu.gtk.gio
Interface SocketAddressClass.OnToNative
- Enclosing class:
- SocketAddressClass
- 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 TypeMethodDescriptionboolean
onToNative
(CallbackHandler __self, SocketAddress address, Pointer dest, long destlen)
-
Method Details
-
onToNative
boolean onToNative(CallbackHandler __self, @Nonnull SocketAddress address, @Nullable Pointer dest, long destlen) - Parameters:
address
- a #GSocketAddressdest
- a pointer to a memory location that will contain the native struct sockaddrdestlen
- the size of @dest. Must be at least as large as g_socket_address_get_native_size()- Returns:
- %TRUE if @dest was filled in, %FALSE on error
-