Schnittstelle DtlsConnectionInterface.OnShutdown

Umschließende Klasse:
DtlsConnectionInterface
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface DtlsConnectionInterface.OnShutdown
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    onShutdown(CallbackHandler __self, DtlsConnection conn, boolean shutdown_read, boolean shutdown_write, Cancellable cancellable)
     
  • Methodendetails

    • onShutdown

      boolean onShutdown(CallbackHandler __self, @Nonnull DtlsConnection conn, boolean shutdown_read, boolean shutdown_write, @Nullable Cancellable cancellable)
      Parameter:
      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
      Gibt zurück:
      %TRUE on success, %FALSE otherwise