Package ch.bailu.gtk.gio
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.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
onShutdown
(CallbackHandler __self, DtlsConnection conn, boolean shutdown_read, boolean shutdown_write, Cancellable cancellable)
-
Method Details
-
onShutdown
boolean onShutdown(CallbackHandler __self, @Nonnull DtlsConnection conn, boolean shutdown_read, boolean shutdown_write, @Nullable Cancellable cancellable) - Parameters:
conn
- a #GDtlsConnectionshutdown_read
- %TRUE to stop reception of incoming datagramsshutdown_write
- %TRUE to stop sending outgoing datagramscancellable
- a #GCancellable, or %NULL- Returns:
- %TRUE on success, %FALSE otherwise
-