Class: Gio::DBusObjectManagerClient
- Inherits:
-
Object
- Object
- Gio::DBusObjectManagerClient
- Defined in:
- (unknown)
Overview
Class structure for GDBus::ObjectManagerClient.
Class Method Summary collapse
-
.new(connection, flags, name, object_path, get_proxy_type_func, get_proxy_type_user_data, get_proxy_type_destroy_notify, cancellable, callback, user_data) ⇒ nil
Asynchronously creates a new GDBus::ObjectManagerClient object.
-
.new_for_bus(bus_type, flags, name, object_path, get_proxy_type_func, get_proxy_type_user_data, get_proxy_type_destroy_notify, cancellable, callback, user_data) ⇒ nil
Like g_dbus_object_manager_client_new() but takes a GBus::Type instead of a GDBus::Connection.
Instance Method Summary collapse
-
#bus_type=(bus_type) ⇒ Gio::BusType
If this property is not %G_BUS_TYPE_NONE, then GDBus::ObjectManagerClient:connection must be nil and will be set to the GDBus::Connection obtained by calling g_bus_get() with the value of this property.
-
#connection ⇒ Gio::DBusConnection
The GDBus::Connection to use.
-
#connection=(connection) ⇒ Gio::DBusConnection
The GDBus::Connection to use.
-
#flags ⇒ Gio::DBusObjectManagerClientFlags
Flags from the GDBus::ObjectManagerClientFlags enumeration.
-
#flags=(flags) ⇒ Gio::DBusObjectManagerClientFlags
Flags from the GDBus::ObjectManagerClientFlags enumeration.
-
#get_proxy_type_destroy_notify ⇒ GObject
A GDestroy::Notify for the #gpointer user_data in #GDBusObjectManagerClient:get-proxy-type-user-data.
-
#get_proxy_type_destroy_notify=(get_proxy_type_destroy_notify) ⇒ GObject
A GDestroy::Notify for the #gpointer user_data in #GDBusObjectManagerClient:get-proxy-type-user-data.
-
#get_proxy_type_func ⇒ GObject
The GDBus::ProxyTypeFunc to use when determining what #GType to use for interface proxies or nil.
-
#get_proxy_type_func=(get_proxy_type_func) ⇒ GObject
The GDBus::ProxyTypeFunc to use when determining what #GType to use for interface proxies or nil.
-
#get_proxy_type_user_data ⇒ GObject
The #gpointer user_data to pass to GDBus::ObjectManagerClient:get-proxy-type-func.
-
#get_proxy_type_user_data=(get_proxy_type_user_data) ⇒ GObject
The #gpointer user_data to pass to GDBus::ObjectManagerClient:get-proxy-type-func.
-
#initialize(connection, flags, name, object_path, get_proxy_type_func, get_proxy_type_user_data, get_proxy_type_destroy_notify, cancellable) ⇒ Gio::DBusObjectManagerClient
constructor
Creates a new GDBus::ObjectManagerClient object.
-
#name ⇒ String
The well-known name or unique name that the manager is for.
-
#name=(name) ⇒ String
The well-known name or unique name that the manager is for.
-
#name_owner ⇒ String
The unique name that owns GDBus::ObjectManagerClient:name or nil if no-one is currently owning the name.
-
#name_owner=(name_owner) ⇒ String
The unique name that owns GDBus::ObjectManagerClient:name or nil if no-one is currently owning the name.
-
#object_path ⇒ String
The object path the manager is for.
-
#object_path=(object_path) ⇒ String
The object path the manager is for.
Constructor Details
#initialize(connection, flags, name, object_path, get_proxy_type_func, get_proxy_type_user_data, get_proxy_type_destroy_notify, cancellable) ⇒ Gio::DBusObjectManagerClient
Creates a new GDBus::ObjectManagerClient object.
This is a synchronous failable constructor - the calling thread is blocked until a reply is received. See g_dbus_object_manager_client_new() for the asynchronous version.
Class Method Details
.new(connection, flags, name, object_path, get_proxy_type_func, get_proxy_type_user_data, get_proxy_type_destroy_notify, cancellable, callback, user_data) ⇒ nil
Asynchronously creates a new GDBus::ObjectManagerClient object.
This is an asynchronous failable constructor. When the result is ready, callback will be invoked in the [thread-default main context][g-main-context-push-thread-default] of the thread you are calling this method from. You can then call g_dbus_object_manager_client_new_finish() to get the result. See g_dbus_object_manager_client_new_sync() for the synchronous version.
.new_for_bus(bus_type, flags, name, object_path, get_proxy_type_func, get_proxy_type_user_data, get_proxy_type_destroy_notify, cancellable, callback, user_data) ⇒ nil
Like g_dbus_object_manager_client_new() but takes a GBus::Type instead of a GDBus::Connection.
This is an asynchronous failable constructor. When the result is ready, callback will be invoked in the [thread-default main loop][g-main-context-push-thread-default] of the thread you are calling this method from. You can then call g_dbus_object_manager_client_new_for_bus_finish() to get the result. See g_dbus_object_manager_client_new_for_bus_sync() for the synchronous version.
Instance Method Details
#bus_type=(bus_type) ⇒ Gio::BusType
If this property is not %G_BUS_TYPE_NONE, then GDBus::ObjectManagerClient:connection must be nil and will be set to the GDBus::Connection obtained by calling g_bus_get() with the value of this property.
#connection ⇒ Gio::DBusConnection
The GDBus::Connection to use.
#connection=(connection) ⇒ Gio::DBusConnection
The GDBus::Connection to use.
#flags ⇒ Gio::DBusObjectManagerClientFlags
Flags from the GDBus::ObjectManagerClientFlags enumeration.
#flags=(flags) ⇒ Gio::DBusObjectManagerClientFlags
Flags from the GDBus::ObjectManagerClientFlags enumeration.
#get_proxy_type_destroy_notify ⇒ GObject
A GDestroy::Notify for the #gpointer user_data in #GDBusObjectManagerClient:get-proxy-type-user-data.
#get_proxy_type_destroy_notify=(get_proxy_type_destroy_notify) ⇒ GObject
A GDestroy::Notify for the #gpointer user_data in #GDBusObjectManagerClient:get-proxy-type-user-data.
#get_proxy_type_func ⇒ GObject
The GDBus::ProxyTypeFunc to use when determining what #GType to use for interface proxies or nil.
#get_proxy_type_func=(get_proxy_type_func) ⇒ GObject
The GDBus::ProxyTypeFunc to use when determining what #GType to use for interface proxies or nil.
#get_proxy_type_user_data ⇒ GObject
The #gpointer user_data to pass to GDBus::ObjectManagerClient:get-proxy-type-func.
#get_proxy_type_user_data=(get_proxy_type_user_data) ⇒ GObject
The #gpointer user_data to pass to GDBus::ObjectManagerClient:get-proxy-type-func.
#name ⇒ String
The well-known name or unique name that the manager is for.
#name=(name) ⇒ String
The well-known name or unique name that the manager is for.
#name_owner ⇒ String
The unique name that owns GDBus::ObjectManagerClient:name or nil if no-one is currently owning the name. Connect to the #GObject::notify signal to track changes to this property.
#name_owner=(name_owner) ⇒ String
The unique name that owns GDBus::ObjectManagerClient:name or nil if no-one is currently owning the name. Connect to the #GObject::notify signal to track changes to this property.
#object_path ⇒ String
The object path the manager is for.
#object_path=(object_path) ⇒ String
The object path the manager is for.