Interface PollableInputStreamInterface.OnCanPoll

Enclosing class:
PollableInputStreamInterface
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 PollableInputStreamInterface.OnCanPoll
  • Method Details

    • onCanPoll

      boolean onCanPoll(CallbackHandler __self, @Nonnull PollableInputStream stream)
      Parameters:
      stream - a #GPollableInputStream.
      Returns:
      %TRUE if @stream is pollable, %FALSE if not.