Interface SocketAddressEnumeratorClass.OnNext

Enclosing class:
SocketAddressEnumeratorClass
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 SocketAddressEnumeratorClass.OnNext
  • Method Details

    • onNext

      SocketAddress onNext(CallbackHandler __self, @Nonnull SocketAddressEnumerator enumerator, @Nullable Cancellable cancellable)
      Parameters:
      enumerator - a #GSocketAddressEnumerator
      cancellable - optional #GCancellable object, %NULL to ignore.
      Returns:
      a #GSocketAddress (owned by the caller), or %NULL on error (in which case *@error will be set) or if there are no more addresses.