Package org.gnome.gio
Class DatagramBased.DatagramBasedInterface
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.gobject.TypeInterface
org.gnome.gio.DatagramBased.DatagramBasedInterface
- All Implemented Interfaces:
Proxy
- Enclosing interface:
DatagramBased
Provides an interface for socket-like objects which have datagram semantics,
following the Berkeley sockets API. The interface methods are thin wrappers
around the corresponding virtual methods, and no pre-processing of inputs is
implemented — so implementations of this API must handle all functionality
documented in the interface methods.
-
Constructor Summary
ConstructorDescriptionAllocate a new DatagramBasedInterface.DatagramBasedInterface
(Arena arena) Allocate a new DatagramBasedInterface.DatagramBasedInterface
(MemorySegment address) Create a DatagramBasedInterface proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.void
overrideConditionCheck
(Arena arena, Method method) Override virtual methodcondition_check
.void
overrideConditionWait
(Arena arena, Method method) Override virtual methodcondition_wait
.void
overrideCreateSource
(Arena arena, Method method) Override virtual methodcreate_source
.void
overrideReceiveMessages
(Arena arena, Method method) Override virtual methodreceive_messages
.void
overrideSendMessages
(Arena arena, Method method) Override virtual methodsend_messages
.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
-
DatagramBasedInterface
Create a DatagramBasedInterface proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
DatagramBasedInterface
Allocate a new DatagramBasedInterface.- Parameters:
arena
- to control the memory allocation scope
-
DatagramBasedInterface
public DatagramBasedInterface()Allocate a new DatagramBasedInterface. The memory is allocated withArena.ofAuto()
.
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
overrideReceiveMessages
-
overrideSendMessages
-
overrideCreateSource
-
overrideConditionCheck
-
overrideConditionWait
-