Package org.gnome.gio

Interface PollableInputStream

All Superinterfaces:
Proxy
All Known Implementing Classes:
ConverterInputStream, MemoryInputStream, MultipartInputStream, PollableInputStream.PollableInputStreamImpl, UnixInputStream

@Generated("io.github.jwharm.JavaGI") public interface PollableInputStream extends Proxy
GPollableInputStream is implemented by InputStreams that can be polled for readiness to read. This can be used when interfacing with a non-GIO API that expects UNIX-file-descriptor-style asynchronous I/O rather than GIO-style.

Some classes may implement GPollableInputStream but have only certain instances of that class be pollable. If canPoll() returns false, then the behavior of other GPollableInputStream methods is undefined.