Schnittstelle PollableInputStreamInterface.OnIsReadable

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

@FunctionalInterface public static interface PollableInputStreamInterface.OnIsReadable
  • Methodendetails

    • onIsReadable

      boolean onIsReadable(CallbackHandler __self, @Nonnull PollableInputStream stream)
      Parameter:
      stream - a #GPollableInputStream.
      Gibt zurück:
      %TRUE if @stream is readable, %FALSE if not. If an error has occurred on @stream, this will result in g_pollable_input_stream_is_readable() returning %TRUE, and the next attempt to read will return the error.