Package ch.bailu.gtk.gio
Klasse PollableInputStreamInterface
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gio.PollableInputStreamInterface
- Alle implementierten Schnittstellen:
PointerInterface
The interface for pollable input streams.
The default implementation of @can_poll always returns %TRUE.
The default implementation of @read_nonblocking calls
g_pollable_input_stream_is_readable(), and then calls
g_input_stream_read() if it returns %TRUE. This means you only need
to override it if it is possible that your @is_readable
implementation may return %TRUE when the stream is not actually
readable.
The default implementation of @can_poll always returns %TRUE.
The default implementation of @read_nonblocking calls
g_pollable_input_stream_is_readable(), and then calls
g_input_stream_read() if it returns %TRUE. This means you only need
to override it if it is possible that your @is_readable
implementation may return %TRUE when the stream is not actually
readable.
https://docs.gtk.org/gio/struct.PollableInputStreamInterface.html
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interface
static interface
static interface
static interface
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final String
Checks if the #GPollableInputStream instance is actually pollable
SeePollableInputStreamInterface.OnCanPoll.onCanPoll(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream)
static final String
Creates a #GSource to poll the stream
SeePollableInputStreamInterface.OnCreateSource.onCreateSource(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream, ch.bailu.gtk.gio.Cancellable)
static final String
The parent interface.static final String
Checks if the stream is readable
SeePollableInputStreamInterface.OnIsReadable.onIsReadable(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream)
static final String
Does a non-blocking read or returns
%G_IO_ERROR_WOULD_BLOCK
SeePollableInputStreamInterface.OnReadNonblocking.onReadNonblocking(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream, ch.bailu.gtk.type.Pointer, long)
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibung -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandler
ch.bailu.gtk.gio.JnaPollableInputStreamInterface.OnCanPoll
Checks if the #GPollableInputStream instance is actually pollable
SeePollableInputStreamInterface.OnCanPoll.onCanPoll(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream)
ch.bailu.gtk.gio.JnaPollableInputStreamInterface.OnCreateSource
Creates a #GSource to poll the stream
SeePollableInputStreamInterface.OnCreateSource.onCreateSource(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream, ch.bailu.gtk.gio.Cancellable)
ch.bailu.gtk.gio.JnaPollableInputStreamInterface.OnIsReadable
Checks if the stream is readable
SeePollableInputStreamInterface.OnIsReadable.onIsReadable(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream)
ch.bailu.gtk.gio.JnaPollableInputStreamInterface.OnReadNonblocking
Does a non-blocking read or returns
%G_IO_ERROR_WOULD_BLOCK
SeePollableInputStreamInterface.OnReadNonblocking.onReadNonblocking(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream, ch.bailu.gtk.type.Pointer, long)
static int
static TypeSystem.TypeSize
static TypeSystem.TypeSize
void
Checks if the #GPollableInputStream instance is actually pollable
SeePollableInputStreamInterface.OnCanPoll.onCanPoll(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream)
void
setFieldCreateSource
(PollableInputStreamInterface.OnCreateSource create_source) Creates a #GSource to poll the stream
SeePollableInputStreamInterface.OnCreateSource.onCreateSource(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream, ch.bailu.gtk.gio.Cancellable)
void
Checks if the stream is readable
SeePollableInputStreamInterface.OnIsReadable.onIsReadable(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream)
void
setFieldReadNonblocking
(PollableInputStreamInterface.OnReadNonblocking read_nonblocking) Does a non-blocking read or returns
%G_IO_ERROR_WOULD_BLOCK
SeePollableInputStreamInterface.OnReadNonblocking.onReadNonblocking(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream, ch.bailu.gtk.type.Pointer, long)
Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
G_IFACE
The parent interface.
Private field: direct-type- Siehe auch:
-
CAN_POLL
Checks if the #GPollableInputStream instance is actually pollable
SeePollableInputStreamInterface.OnCanPoll.onCanPoll(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream)
- Siehe auch:
-
IS_READABLE
Checks if the stream is readable
SeePollableInputStreamInterface.OnIsReadable.onIsReadable(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream)
- Siehe auch:
-
CREATE_SOURCE
Creates a #GSource to poll the stream
SeePollableInputStreamInterface.OnCreateSource.onCreateSource(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream, ch.bailu.gtk.gio.Cancellable)
- Siehe auch:
-
READ_NONBLOCKING
Does a non-blocking read or returns
%G_IO_ERROR_WOULD_BLOCK
SeePollableInputStreamInterface.OnReadNonblocking.onReadNonblocking(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream, ch.bailu.gtk.type.Pointer, long)
- Siehe auch:
-
-
Konstruktordetails
-
PollableInputStreamInterface
-
PollableInputStreamInterface
public PollableInputStreamInterface()
-
-
Methodendetails
-
getClassHandler
-
setFieldCanPoll
Checks if the #GPollableInputStream instance is actually pollable
SeePollableInputStreamInterface.OnCanPoll.onCanPoll(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream)
-
getFieldCanPoll
public ch.bailu.gtk.gio.JnaPollableInputStreamInterface.OnCanPoll getFieldCanPoll()Checks if the #GPollableInputStream instance is actually pollable
SeePollableInputStreamInterface.OnCanPoll.onCanPoll(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream)
-
setFieldIsReadable
Checks if the stream is readable
SeePollableInputStreamInterface.OnIsReadable.onIsReadable(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream)
-
getFieldIsReadable
public ch.bailu.gtk.gio.JnaPollableInputStreamInterface.OnIsReadable getFieldIsReadable()Checks if the stream is readable
SeePollableInputStreamInterface.OnIsReadable.onIsReadable(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream)
-
setFieldCreateSource
Creates a #GSource to poll the stream
SeePollableInputStreamInterface.OnCreateSource.onCreateSource(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream, ch.bailu.gtk.gio.Cancellable)
-
getFieldCreateSource
public ch.bailu.gtk.gio.JnaPollableInputStreamInterface.OnCreateSource getFieldCreateSource()Creates a #GSource to poll the stream
SeePollableInputStreamInterface.OnCreateSource.onCreateSource(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream, ch.bailu.gtk.gio.Cancellable)
-
setFieldReadNonblocking
public void setFieldReadNonblocking(PollableInputStreamInterface.OnReadNonblocking read_nonblocking) Does a non-blocking read or returns
%G_IO_ERROR_WOULD_BLOCK
SeePollableInputStreamInterface.OnReadNonblocking.onReadNonblocking(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream, ch.bailu.gtk.type.Pointer, long)
-
getFieldReadNonblocking
public ch.bailu.gtk.gio.JnaPollableInputStreamInterface.OnReadNonblocking getFieldReadNonblocking()Does a non-blocking read or returns
%G_IO_ERROR_WOULD_BLOCK
SeePollableInputStreamInterface.OnReadNonblocking.onReadNonblocking(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gio.PollableInputStream, ch.bailu.gtk.type.Pointer, long)
-
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-