ModemManager.GdbusObjectManagerClient

g GObject.GInterface GObject.GInterface Gio.AsyncInitable Gio.AsyncInitable GObject.GInterface->Gio.AsyncInitable Gio.DBusObjectManager Gio.DBusObjectManager GObject.GInterface->Gio.DBusObjectManager Gio.Initable Gio.Initable GObject.GInterface->Gio.Initable GObject.Object GObject.Object Gio.DBusObjectManagerClient Gio.DBusObjectManagerClient GObject.Object->Gio.DBusObjectManagerClient Gio.AsyncInitable->Gio.DBusObjectManagerClient Gio.DBusObjectManager->Gio.DBusObjectManagerClient ModemManager.GdbusObjectManagerClient ModemManager.GdbusObjectManagerClient Gio.DBusObjectManagerClient->ModemManager.GdbusObjectManagerClient Gio.Initable->Gio.DBusObjectManagerClient

Subclasses:

ModemManager.Manager

Methods

Inherited:

Gio.DBusObjectManagerClient (10), GObject.Object (37), Gio.AsyncInitable (4), Gio.DBusObjectManager (4), Gio.Initable (2)

Structs:

GObject.ObjectClass (5)

class

get_proxy_type (manager, object_path, interface_name, user_data)

class

new (connection, flags, name, object_path, cancellable, callback, *user_data)

class

new_finish (res)

class

new_for_bus (bus_type, flags, name, object_path, cancellable, callback, *user_data)

class

new_for_bus_finish (res)

class

new_for_bus_sync (bus_type, flags, name, object_path, cancellable)

class

new_sync (connection, flags, name, object_path, cancellable)

Virtual Methods

Inherited:

Gio.DBusObjectManagerClient (2), GObject.Object (7), Gio.AsyncInitable (2), Gio.DBusObjectManager (8), Gio.Initable (1)

Properties

Inherited:

Gio.DBusObjectManagerClient (9)

Signals

Inherited:

Gio.DBusObjectManagerClient (2), GObject.Object (1), Gio.DBusObjectManager (4)

Fields

Inherited:

Gio.DBusObjectManagerClient (2), GObject.Object (1), Gio.DBusObjectManager (4)

Name

Type

Access

Description

parent_instance

Gio.DBusObjectManagerClient

r

Class Details

class ModemManager.GdbusObjectManagerClient(**kwargs)
Bases:

Gio.DBusObjectManagerClient

Abstract:

No

Structure:

ModemManager.GdbusObjectManagerClientClass

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

classmethod get_proxy_type(manager, object_path, interface_name, user_data)
Parameters:
Returns:

A Gio.DBusProxy derived GObject.GType if interface_name is not None, otherwise the GObject.GType for ModemManager.GdbusObjectProxy.

Return type:

GObject.GType

A Gio.DBusProxyTypeFunc that maps interface_name to the generated Gio.DBusObjectProxy derived and Gio.DBusProxy derived types.

classmethod new(connection, flags, name, object_path, cancellable, callback, *user_data)
Parameters:

Asynchronously creates Gio.DBusObjectManagerClient using ModemManager.GdbusObjectManagerClient.get_proxy_type() as the Gio.DBusProxyTypeFunc. See Gio.DBusObjectManagerClient.new() for more details.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusObjectManagerClient.new_finish() to get the result of the operation.

See ModemManager.GdbusObjectManagerClient.new_sync() for the synchronous, blocking version of this constructor.

classmethod new_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusObjectManagerClient.new().

Raises:

GLib.Error

Returns:

The constructed object manager client or None if error is set.

Return type:

ModemManager.GdbusObjectManagerClient

Finishes an operation started with ModemManager.GdbusObjectManagerClient.new().

classmethod new_for_bus(bus_type, flags, name, object_path, cancellable, callback, *user_data)
Parameters:

Like ModemManager.GdbusObjectManagerClient.new() but takes a Gio.BusType instead of a Gio.DBusConnection.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from (see GLib.MainContext.push_thread_default()). You can then call ModemManager.GdbusObjectManagerClient.new_for_bus_finish() to get the result of the operation.

See ModemManager.GdbusObjectManagerClient.new_for_bus_sync() for the synchronous, blocking version of this constructor.

classmethod new_for_bus_finish(res)
Parameters:

res (Gio.AsyncResult) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.GdbusObjectManagerClient.new_for_bus().

Raises:

GLib.Error

Returns:

The constructed object manager client or None if error is set.

Return type:

ModemManager.GdbusObjectManagerClient

Finishes an operation started with ModemManager.GdbusObjectManagerClient.new_for_bus().

classmethod new_for_bus_sync(bus_type, flags, name, object_path, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

The constructed object manager client or None if error is set.

Return type:

ModemManager.GdbusObjectManagerClient

Like ModemManager.GdbusObjectManagerClient.new_sync() but takes a Gio.BusType instead of a Gio.DBusConnection.

The calling thread is blocked until a reply is received.

See ModemManager.GdbusObjectManagerClient.new_for_bus() for the asynchronous version of this constructor.

classmethod new_sync(connection, flags, name, object_path, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

The constructed object manager client or None if error is set.

Return type:

ModemManager.GdbusObjectManagerClient

Synchronously creates Gio.DBusObjectManagerClient using ModemManager.GdbusObjectManagerClient.get_proxy_type() as the Gio.DBusProxyTypeFunc. See Gio.DBusObjectManagerClient.new_sync() for more details.

The calling thread is blocked until a reply is received.

See ModemManager.GdbusObjectManagerClient.new() for the asynchronous version of this constructor.