Klasse DBusInterface

Alle implementierten Schnittstellen:
PointerInterface

public class DBusInterface extends Interface
Base type for D-Bus interfaces.

The `GDBusInterface` type is the base type for D-Bus interfaces both
on the service side (see [class@Gio.DBusInterfaceSkeleton]) and client side
(see [class@Gio.DBusProxy]).

https://docs.gtk.org/gio/iface.DBusInterface.html

  • Konstruktordetails

  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • dupObject

      public DBusObject dupObject()
      Gets the #GDBusObject that @interface_ belongs to, if any.
      Gibt zurück:
      A #GDBusObject or %NULL. The returned reference should be freed with g_object_unref().
    • getInfo

      public DBusInterfaceInfo getInfo()
      Gets D-Bus introspection information for the D-Bus interface
      implemented by @interface_.
      Gibt zurück:
      A #GDBusInterfaceInfo. Do not free.
    • getObject

      public DBusObject getObject()
      Gets the #GDBusObject that @interface_ belongs to, if any.

      It is not safe to use the returned object if @interface_ or
      the returned object is being used from other threads. See
      g_dbus_interface_dup_object() for a thread-safe alternative.
      Gibt zurück:
      A #GDBusObject or %NULL. The returned reference belongs to @interface_ and should not be freed.
    • setObject

      public void setObject(@Nullable DBusObject object)
      Sets the #GDBusObject for @interface_ to @object.

      Note that @interface_ will hold a weak reference to @object.
      Parameter:
      object - A #GDBusObject or %NULL.
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()