Package org.gnome.gio
Class FileDescriptorBased.FileDescriptorBasedIface
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.gobject.TypeInterface
org.gnome.gio.FileDescriptorBased.FileDescriptorBasedIface
- All Implemented Interfaces:
Proxy
- Enclosing interface:
FileDescriptorBased
An interface for file descriptor based io objects.
-
Constructor Summary
ConstructorDescriptionAllocate a new FileDescriptorBasedIface.FileDescriptorBasedIface
(Arena arena) Allocate a new FileDescriptorBasedIface.FileDescriptorBasedIface
(MemorySegment address) Create a FileDescriptorBasedIface proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.void
overrideGetFd
(Arena arena, Method method) Override virtual methodget_fd
.Methods inherited from class org.gnome.gobject.TypeInterface
addPrerequisite, getPlugin, instantiatablePrerequisite, peek, peekParent, prerequisites, readGInstanceType, readGType, writeGInstanceType, writeGType
Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
FileDescriptorBasedIface
Create a FileDescriptorBasedIface proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
FileDescriptorBasedIface
Allocate a new FileDescriptorBasedIface.- Parameters:
arena
- to control the memory allocation scope
-
FileDescriptorBasedIface
public FileDescriptorBasedIface()Allocate a new FileDescriptorBasedIface. The memory is allocated withArena.ofAuto()
.
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
overrideGetFd
-