GPollableOutputStreamInterface

The interface for pollable output streams. The default implementation of can_poll always returns TRUE. The default implementation of write_nonblocking calls g_pollable_output_stream_is_writable(), and then calls g_output_stream_write() if it returns TRUE. This means you only need to override it if it is possible that your is_writable implementation may return TRUE when the stream is not actually writable. GTypeInterface g_iface; The parent interface. can_poll () Checks if the GPollableOutputStream instance is actually pollable is_writable () Checks if the stream is writable create_source () Creates a GSource to poll the stream write_nonblocking () Does a non-blocking write or returns G_IO_ERROR_WOULD_BLOCK Since 2.28

Members

Variables

canPoll
int function(GPollableOutputStream* stream) canPoll;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
createSource
GSource* function(GPollableOutputStream* stream, GCancellable* cancellable) createSource;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
gIface
GTypeInterface gIface;
Undocumented in source.
isWritable
int function(GPollableOutputStream* stream) isWritable;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
writeNonblocking
gssize function(GPollableOutputStream* stream, void* buffer, gsize size, GError** error) writeNonblocking;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta