Package ch.bailu.gtk.glib
Klasse IOFuncs
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.glib.IOFuncs
- Alle implementierten Schnittstellen:
PointerInterface
A table of functions used to handle different types of #GIOChannel
in a generic way.
in a generic way.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final String
closes the channel.static final String
creates a watch on the channel.static final String
called from g_io_channel_unref() when the channel needs to
be freed.static final String
gets the #GIOFlags for the channel.static final String
reads raw bytes from the channel.static final String
seeks the channel.static final String
sets the #GIOFlags on the channel.static final String
writes raw bytes to the channel. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandler
ch.bailu.gtk.glib.JnaIOFuncs.OnIoClose
closes the channel.ch.bailu.gtk.glib.JnaIOFuncs.OnIoCreateWatch
creates a watch on the channel.ch.bailu.gtk.glib.JnaIOFuncs.OnIoFree
called from g_io_channel_unref() when the channel needs to
be freed.ch.bailu.gtk.glib.JnaIOFuncs.OnIoGetFlags
gets the #GIOFlags for the channel.ch.bailu.gtk.glib.JnaIOFuncs.OnIoRead
reads raw bytes from the channel.ch.bailu.gtk.glib.JnaIOFuncs.OnIoSeek
seeks the channel.ch.bailu.gtk.glib.JnaIOFuncs.OnIoSetFlags
sets the #GIOFlags on the channel.ch.bailu.gtk.glib.JnaIOFuncs.OnIoWrite
writes raw bytes to the channel.void
setFieldIoClose
(IOFuncs.OnIoClose io_close) closes the channel.void
setFieldIoCreateWatch
(IOFuncs.OnIoCreateWatch io_create_watch) creates a watch on the channel.void
setFieldIoFree
(IOFuncs.OnIoFree io_free) called from g_io_channel_unref() when the channel needs to
be freed.void
setFieldIoGetFlags
(IOFuncs.OnIoGetFlags io_get_flags) gets the #GIOFlags for the channel.void
setFieldIoRead
(IOFuncs.OnIoRead io_read) reads raw bytes from the channel.void
setFieldIoSeek
(IOFuncs.OnIoSeek io_seek) seeks the channel.void
setFieldIoSetFlags
(IOFuncs.OnIoSetFlags io_set_flags) sets the #GIOFlags on the channel.void
setFieldIoWrite
(IOFuncs.OnIoWrite io_write) writes raw bytes to the channel.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
-
IO_READ
reads raw bytes from the channel. This is called from
various functions such as g_io_channel_read_chars() to
read raw bytes from the channel. Encoding and buffering
issues are dealt with at a higher level.
SeeIOFuncs.OnIoRead.onIoRead(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel, ch.bailu.gtk.type.Str, long, ch.bailu.gtk.type.Int64)
- Siehe auch:
-
IO_WRITE
writes raw bytes to the channel. This is called from
various functions such as g_io_channel_write_chars() to
write raw bytes to the channel. Encoding and buffering
issues are dealt with at a higher level.
SeeIOFuncs.OnIoWrite.onIoWrite(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel, ch.bailu.gtk.type.Str, long, ch.bailu.gtk.type.Int64)
- Siehe auch:
-
IO_SEEK
seeks the channel. This is called from
g_io_channel_seek() on channels that support it.
SeeIOFuncs.OnIoSeek.onIoSeek(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel, long, int)
- Siehe auch:
-
IO_CLOSE
closes the channel. This is called from
g_io_channel_close() after flushing the buffers.
SeeIOFuncs.OnIoClose.onIoClose(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel)
- Siehe auch:
-
IO_CREATE_WATCH
creates a watch on the channel. This call
corresponds directly to g_io_create_watch().
SeeIOFuncs.OnIoCreateWatch.onIoCreateWatch(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel, int)
- Siehe auch:
-
IO_FREE
called from g_io_channel_unref() when the channel needs to
be freed. This function must free the memory associated
with the channel, including freeing the #GIOChannel
structure itself. The channel buffers have been flushed
and possibly @io_close has been called by the time this
function is called.
SeeIOFuncs.OnIoFree.onIoFree(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel)
- Siehe auch:
-
IO_SET_FLAGS
sets the #GIOFlags on the channel. This is called
from g_io_channel_set_flags() with all flags except
for %G_IO_FLAG_APPEND and %G_IO_FLAG_NONBLOCK masked
out.
SeeIOFuncs.OnIoSetFlags.onIoSetFlags(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel, int)
- Siehe auch:
-
IO_GET_FLAGS
gets the #GIOFlags for the channel. This function
need only return the %G_IO_FLAG_APPEND and
%G_IO_FLAG_NONBLOCK flags; g_io_channel_get_flags()
automatically adds the others as appropriate.
SeeIOFuncs.OnIoGetFlags.onIoGetFlags(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel)
- Siehe auch:
-
-
Konstruktordetails
-
IOFuncs
-
IOFuncs
public IOFuncs()
-
-
Methodendetails
-
getClassHandler
-
setFieldIoRead
reads raw bytes from the channel. This is called from
various functions such as g_io_channel_read_chars() to
read raw bytes from the channel. Encoding and buffering
issues are dealt with at a higher level.
SeeIOFuncs.OnIoRead.onIoRead(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel, ch.bailu.gtk.type.Str, long, ch.bailu.gtk.type.Int64)
-
getFieldIoRead
public ch.bailu.gtk.glib.JnaIOFuncs.OnIoRead getFieldIoRead()reads raw bytes from the channel. This is called from
various functions such as g_io_channel_read_chars() to
read raw bytes from the channel. Encoding and buffering
issues are dealt with at a higher level.
SeeIOFuncs.OnIoRead.onIoRead(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel, ch.bailu.gtk.type.Str, long, ch.bailu.gtk.type.Int64)
-
setFieldIoWrite
writes raw bytes to the channel. This is called from
various functions such as g_io_channel_write_chars() to
write raw bytes to the channel. Encoding and buffering
issues are dealt with at a higher level.
SeeIOFuncs.OnIoWrite.onIoWrite(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel, ch.bailu.gtk.type.Str, long, ch.bailu.gtk.type.Int64)
-
getFieldIoWrite
public ch.bailu.gtk.glib.JnaIOFuncs.OnIoWrite getFieldIoWrite()writes raw bytes to the channel. This is called from
various functions such as g_io_channel_write_chars() to
write raw bytes to the channel. Encoding and buffering
issues are dealt with at a higher level.
SeeIOFuncs.OnIoWrite.onIoWrite(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel, ch.bailu.gtk.type.Str, long, ch.bailu.gtk.type.Int64)
-
setFieldIoSeek
seeks the channel. This is called from
g_io_channel_seek() on channels that support it.
SeeIOFuncs.OnIoSeek.onIoSeek(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel, long, int)
-
getFieldIoSeek
public ch.bailu.gtk.glib.JnaIOFuncs.OnIoSeek getFieldIoSeek()seeks the channel. This is called from
g_io_channel_seek() on channels that support it.
SeeIOFuncs.OnIoSeek.onIoSeek(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel, long, int)
-
setFieldIoClose
closes the channel. This is called from
g_io_channel_close() after flushing the buffers.
SeeIOFuncs.OnIoClose.onIoClose(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel)
-
getFieldIoClose
public ch.bailu.gtk.glib.JnaIOFuncs.OnIoClose getFieldIoClose()closes the channel. This is called from
g_io_channel_close() after flushing the buffers.
SeeIOFuncs.OnIoClose.onIoClose(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel)
-
setFieldIoCreateWatch
creates a watch on the channel. This call
corresponds directly to g_io_create_watch().
SeeIOFuncs.OnIoCreateWatch.onIoCreateWatch(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel, int)
-
getFieldIoCreateWatch
public ch.bailu.gtk.glib.JnaIOFuncs.OnIoCreateWatch getFieldIoCreateWatch()creates a watch on the channel. This call
corresponds directly to g_io_create_watch().
SeeIOFuncs.OnIoCreateWatch.onIoCreateWatch(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel, int)
-
setFieldIoFree
called from g_io_channel_unref() when the channel needs to
be freed. This function must free the memory associated
with the channel, including freeing the #GIOChannel
structure itself. The channel buffers have been flushed
and possibly @io_close has been called by the time this
function is called.
SeeIOFuncs.OnIoFree.onIoFree(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel)
-
getFieldIoFree
public ch.bailu.gtk.glib.JnaIOFuncs.OnIoFree getFieldIoFree()called from g_io_channel_unref() when the channel needs to
be freed. This function must free the memory associated
with the channel, including freeing the #GIOChannel
structure itself. The channel buffers have been flushed
and possibly @io_close has been called by the time this
function is called.
SeeIOFuncs.OnIoFree.onIoFree(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel)
-
setFieldIoSetFlags
sets the #GIOFlags on the channel. This is called
from g_io_channel_set_flags() with all flags except
for %G_IO_FLAG_APPEND and %G_IO_FLAG_NONBLOCK masked
out.
SeeIOFuncs.OnIoSetFlags.onIoSetFlags(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel, int)
-
getFieldIoSetFlags
public ch.bailu.gtk.glib.JnaIOFuncs.OnIoSetFlags getFieldIoSetFlags()sets the #GIOFlags on the channel. This is called
from g_io_channel_set_flags() with all flags except
for %G_IO_FLAG_APPEND and %G_IO_FLAG_NONBLOCK masked
out.
SeeIOFuncs.OnIoSetFlags.onIoSetFlags(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel, int)
-
setFieldIoGetFlags
gets the #GIOFlags for the channel. This function
need only return the %G_IO_FLAG_APPEND and
%G_IO_FLAG_NONBLOCK flags; g_io_channel_get_flags()
automatically adds the others as appropriate.
SeeIOFuncs.OnIoGetFlags.onIoGetFlags(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel)
-
getFieldIoGetFlags
public ch.bailu.gtk.glib.JnaIOFuncs.OnIoGetFlags getFieldIoGetFlags()gets the #GIOFlags for the channel. This function
need only return the %G_IO_FLAG_APPEND and
%G_IO_FLAG_NONBLOCK flags; g_io_channel_get_flags()
automatically adds the others as appropriate.
SeeIOFuncs.OnIoGetFlags.onIoGetFlags(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.glib.IOChannel)
-