Schnittstelle PollableOutputStreamInterface.OnIsWritable

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

@FunctionalInterface public static interface PollableOutputStreamInterface.OnIsWritable
  • Methodendetails

    • onIsWritable

      boolean onIsWritable(CallbackHandler __self, @Nonnull PollableOutputStream stream)
      Parameter:
      stream - a #GPollableOutputStream.
      Gibt zurück:
      %TRUE if @stream is writable, %FALSE if not. If an error has occurred on @stream, this will result in g_pollable_output_stream_is_writable() returning %TRUE, and the next attempt to write will return the error.