GDBusObjectProxy

GDBusObjectProxy — Client-side D-Bus object

Synopsis

#include <gio/gio.h>

                    GDBusObjectProxy;
struct              GDBusObjectProxyClass;
GDBusObjectProxy *  g_dbus_object_proxy_new             (GDBusConnection *connection,
                                                         const gchar *object_path);
GDBusConnection *   g_dbus_object_proxy_get_connection  (GDBusObjectProxy *proxy);

Object Hierarchy

  GObject
   +----GDBusObjectProxy

Implemented Interfaces

GDBusObjectProxy implements GDBusObject.

Properties

  "g-connection"             GDBusConnection*      : Read / Write / Construct Only
  "g-object-path"            gchar*                : Read / Write / Construct Only

Description

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.

Details

GDBusObjectProxy

typedef struct _GDBusObjectProxy GDBusObjectProxy;

The GDBusObjectProxy structure contains private data and should only be accessed using the provided API.

Since 2.30


struct GDBusObjectProxyClass

struct GDBusObjectProxyClass {
  GObjectClass parent_class;
};

Class structure for GDBusObjectProxy.

GObjectClass parent_class;

The parent class.

Since 2.30


g_dbus_object_proxy_new ()

GDBusObjectProxy *  g_dbus_object_proxy_new             (GDBusConnection *connection,
                                                         const gchar *object_path);

Creates a new GDBusObjectProxy for the given connection and object path.

connection :

a GDBusConnection

object_path :

the object path

Returns :

a new GDBusObjectProxy

Since 2.30


g_dbus_object_proxy_get_connection ()

GDBusConnection *   g_dbus_object_proxy_get_connection  (GDBusObjectProxy *proxy);

Gets the connection that proxy is for.

proxy :

a GDBusObjectProxy

Returns :

A GDBusConnection. Do not free, the object is owned by proxy. [transfer none]

Since 2.30

Property Details

The "g-connection" property

  "g-connection"             GDBusConnection*      : Read / Write / Construct Only

The connection of the proxy.

Since 2.30


The "g-object-path" property

  "g-object-path"            gchar*                : Read / Write / Construct Only

The object path of the proxy.

Default value: NULL

Since 2.30