Package org.gnome.gio
Interface DBusObjectManagerClient.InterfaceProxyPropertiesChangedCallback
- All Superinterfaces:
FunctionPointer
- Enclosing class:
DBusObjectManagerClient
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface DBusObjectManagerClient.InterfaceProxyPropertiesChangedCallback
extends FunctionPointer
Functional interface declaration of the
InterfaceProxyPropertiesChangedCallback callback.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidrun(@Nullable DBusObjectProxy objectProxy, @Nullable DBusProxy interfaceProxy, @Nullable Variant changedProperties, @Nullable String @Nullable [] invalidatedProperties) Emitted when one or more D-Bus properties on proxy changes.default MemorySegmenttoCallback(Arena arena) Creates a native function pointer to theupcall(java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment)method.default voidupcall(MemorySegment sourceDBusObjectManagerClient, MemorySegment objectProxy, MemorySegment interfaceProxy, MemorySegment changedProperties, MemorySegment invalidatedProperties) Theupcallmethod is called from native code.
-
Method Details
-
run
void run(@Nullable DBusObjectProxy objectProxy, @Nullable DBusProxy interfaceProxy, @Nullable Variant changedProperties, @Nullable String @Nullable [] invalidatedProperties) Emitted when one or more D-Bus properties on proxy changes. The local cache has already been updated when this signal fires. Note that bothchangedPropertiesandinvalidatedPropertiesare guaranteed to never benull(either may be empty though).This signal exists purely as a convenience to avoid having to connect signals to all interface proxies managed by
manager.This signal is emitted in the thread-default main context (see
MainContext.pushThreadDefault()) thatmanagerwas constructed in.- Since:
- 2.30
-
upcall
default void upcall(MemorySegment sourceDBusObjectManagerClient, MemorySegment objectProxy, MemorySegment interfaceProxy, MemorySegment changedProperties, MemorySegment invalidatedProperties) Theupcallmethod is called from native code. The parameters are marshaled andrun(org.gnome.gio.DBusObjectProxy, org.gnome.gio.DBusProxy, org.gnome.glib.Variant, java.lang.String[])is executed. -
toCallback
Creates a native function pointer to theupcall(java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment)method.- Specified by:
toCallbackin interfaceFunctionPointer- Parameters:
arena- the arena in which the function pointer is allocated- Returns:
- the native function pointer
-