Interface NetworkMonitorInterface.OnCanReach

Enclosing class:
NetworkMonitorInterface
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 NetworkMonitorInterface.OnCanReach
  • Method Details

    • onCanReach

      boolean onCanReach(CallbackHandler __self, @Nonnull NetworkMonitor monitor, @Nonnull SocketConnectable connectable, @Nullable Cancellable cancellable)
      Parameters:
      monitor - a #GNetworkMonitor
      connectable - a #GSocketConnectable
      cancellable - a #GCancellable, or %NULL
      Returns:
      %TRUE if @connectable is reachable, %FALSE if not.