PollableOutputStream

GPollableOutputStream is implemented by class@Gio.OutputStreams that can be polled for readiness to write. 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 GPollableOutputStream but have only certain instances of that class be pollable. If method@Gio.PollableOutputStream.can_poll returns false, then the behavior of other GPollableOutputStream methods is undefined.

Skipped during bindings generation

  • parameter buffer: Array parameter of type guint8 is not supported

  • parameter vectors: OutputVector

Since

2.28

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val gioPollableOutputStreamPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun canPoll(): Boolean

Checks if @stream is actually pollable. Some classes may implement #GPollableOutputStream but have only certain instances of that class be pollable. If this method returns false, then the behavior of other #GPollableOutputStream methods is undefined.

Link copied to clipboard
open fun createSource(cancellable: Cancellable? = null): <Error class: unknown class>

Creates a #GSource that triggers when @stream can be written, or

Link copied to clipboard
open fun isWritable(): Boolean

Checks if @stream can be written.