Class DBusObjectProxy

All Implemented Interfaces:
PointerInterface

public class DBusObjectProxy extends Object
A #GDBusObjectProxy is an object used to represent a remote object
with one or more D-Bus interfaces. Normally, you don't instantiate
a #GDBusObjectProxy yourself - typically #GDBusObjectManagerClient
is used to obtain it.

https://docs.gtk.org/gio/class.DBusObjectProxy.html

  • Constructor Details

    • DBusObjectProxy

      public DBusObjectProxy(PointerContainer pointer)
    • DBusObjectProxy

      public DBusObjectProxy(@Nonnull DBusConnection connection, @Nonnull Str object_path)
      Creates a new #GDBusObjectProxy for the given connection and
      object path.
      Parameters:
      connection - a #GDBusConnection
      object_path - the object path
    • DBusObjectProxy

      public DBusObjectProxy(@Nonnull DBusConnection connection, String object_path)
      Creates a new #GDBusObjectProxy for the given connection and
      object path.
      Parameters:
      connection - a #GDBusConnection
      object_path - the object path
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getConnection

      public DBusConnection getConnection()
      Gets the connection that @proxy is for.
      Returns:
      A #GDBusConnection. Do not free, the object is owned by @proxy.
    • asDBusObject

      public DBusObject asDBusObject()
      Implements interface DBusObject. Call this to get access to interface functions.
      Returns:
      DBusObject
    • 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()