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 interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interface -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final Stringcloses the channel.static final Stringcreates a watch on the channel.static final Stringcalled from g_io_channel_unref() when the channel needs to
be freed.static final Stringgets the #GIOFlags for the channel.static final Stringreads raw bytes from the channel.static final Stringseeks the channel.static final Stringsets the #GIOFlags on the channel.static final Stringwrites raw bytes to the channel. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandlerch.bailu.gtk.glib.JnaIOFuncs.OnIoClosecloses the channel.ch.bailu.gtk.glib.JnaIOFuncs.OnIoCreateWatchcreates a watch on the channel.ch.bailu.gtk.glib.JnaIOFuncs.OnIoFreecalled from g_io_channel_unref() when the channel needs to
be freed.ch.bailu.gtk.glib.JnaIOFuncs.OnIoGetFlagsgets the #GIOFlags for the channel.ch.bailu.gtk.glib.JnaIOFuncs.OnIoReadreads raw bytes from the channel.ch.bailu.gtk.glib.JnaIOFuncs.OnIoSeekseeks the channel.ch.bailu.gtk.glib.JnaIOFuncs.OnIoSetFlagssets the #GIOFlags on the channel.ch.bailu.gtk.glib.JnaIOFuncs.OnIoWritewrites raw bytes to the channel.voidsetFieldIoClose(IOFuncs.OnIoClose io_close) closes the channel.voidsetFieldIoCreateWatch(IOFuncs.OnIoCreateWatch io_create_watch) creates a watch on the channel.voidsetFieldIoFree(IOFuncs.OnIoFree io_free) called from g_io_channel_unref() when the channel needs to
be freed.voidsetFieldIoGetFlags(IOFuncs.OnIoGetFlags io_get_flags) gets the #GIOFlags for the channel.voidsetFieldIoRead(IOFuncs.OnIoRead io_read) reads raw bytes from the channel.voidsetFieldIoSeek(IOFuncs.OnIoSeek io_seek) seeks the channel.voidsetFieldIoSetFlags(IOFuncs.OnIoSetFlags io_set_flags) sets the #GIOFlags on the channel.voidsetFieldIoWrite(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, unregisterCallbacksVon Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon 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)
-