Package org.gnome.gio
Class DatagramBased.DatagramBasedInterface
java.lang.Object
org.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.
- Since:
- 2.48
-
Constructor Summary
ConstructorsConstructorDescriptionDatagramBasedInterface(MemorySegment address) Create a DatagramBasedInterface proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayoutThe memory layout of the native struct.voidoverrideConditionCheck(Arena arena, @Nullable Method method) Override virtual methodcondition_check.voidoverrideConditionWait(Arena arena, @Nullable Method method) Override virtual methodcondition_wait.voidoverrideCreateSource(Arena arena, @Nullable Method method) Override virtual methodcreate_source.voidoverrideReceiveMessages(Arena arena, @Nullable Method method) Override virtual methodreceive_messages.voidoverrideSendMessages(Arena arena, @Nullable Method method) Override virtual methodsend_messages.Methods inherited from class org.gnome.gobject.TypeInterface
addPrerequisite, getPlugin, instantiatablePrerequisite, peek, peekParent, prerequisites, readGInstanceType, readGType, writeGInstanceType, writeGTypeMethods inherited from class org.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
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
overrideReceiveMessages
-
overrideSendMessages
-
overrideCreateSource
-
overrideConditionCheck
-
overrideConditionWait
-