Interface DtlsConnectionInterface.OnShutdown

Enclosing class:
DtlsConnectionInterface
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 DtlsConnectionInterface.OnShutdown
  • Method Details

    • onShutdown

      boolean onShutdown(CallbackHandler __self, @Nonnull DtlsConnection conn, boolean shutdown_read, boolean shutdown_write, @Nullable Cancellable cancellable)
      Parameters:
      conn - a #GDtlsConnection
      shutdown_read - %TRUE to stop reception of incoming datagrams
      shutdown_write - %TRUE to stop sending outgoing datagrams
      cancellable - a #GCancellable, or %NULL
      Returns:
      %TRUE on success, %FALSE otherwise