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.

@FunctionalInterface public static interface SocketAddressClass.OnToNative
  • Method Details

    • onToNative

      boolean onToNative(CallbackHandler __self, @Nonnull SocketAddress address, @Nullable Pointer dest, long destlen)
      Parameters:
      address - a #GSocketAddress
      dest - a pointer to a memory location that will contain the native struct sockaddr
      destlen - 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