ModemManager.GdbusModemFirmwareProxy

g GObject.GInterface GObject.GInterface Gio.AsyncInitable Gio.AsyncInitable GObject.GInterface->Gio.AsyncInitable Gio.DBusInterface Gio.DBusInterface GObject.GInterface->Gio.DBusInterface Gio.Initable Gio.Initable GObject.GInterface->Gio.Initable ModemManager.GdbusModemFirmware ModemManager.GdbusModemFirmware GObject.GInterface->ModemManager.GdbusModemFirmware GObject.Object GObject.Object Gio.DBusProxy Gio.DBusProxy GObject.Object->Gio.DBusProxy Gio.AsyncInitable->Gio.DBusProxy Gio.DBusInterface->Gio.DBusProxy ModemManager.GdbusModemFirmwareProxy ModemManager.GdbusModemFirmwareProxy Gio.DBusProxy->ModemManager.GdbusModemFirmwareProxy Gio.Initable->Gio.DBusProxy ModemManager.GdbusModemFirmware->ModemManager.GdbusModemFirmwareProxy

Subclasses:

ModemManager.ModemFirmware

Methods

Inherited:

Gio.DBusProxy (25), GObject.Object (37), Gio.AsyncInitable (4), Gio.DBusInterface (3), Gio.Initable (2), ModemManager.GdbusModemFirmware (10)

Structs:

GObject.ObjectClass (5)

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.DBusProxy (2), GObject.Object (7), Gio.AsyncInitable (2), Gio.DBusInterface (3), Gio.Initable (1), ModemManager.GdbusModemFirmware (2)

Properties

Inherited:

Gio.DBusProxy (9), ModemManager.GdbusModemFirmware (1)

Signals

Inherited:

Gio.DBusProxy (2), GObject.Object (1), ModemManager.GdbusModemFirmware (2)

Fields

Inherited:

Gio.DBusProxy (2), GObject.Object (1), ModemManager.GdbusModemFirmware (2)

Name

Type

Access

Description

parent_instance

Gio.DBusProxy

r

Class Details

class ModemManager.GdbusModemFirmwareProxy(**kwargs)
Bases:

Gio.DBusProxy, ModemManager.GdbusModemFirmware

Abstract:

No

Structure:

ModemManager.GdbusModemFirmwareProxyClass

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

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

Asynchronously creates a proxy for the D-Bus interface ‘org.freedesktop.ModemManager1.Modem.Firmware [gdbus-interface-org-freedesktop-ModemManager1-Modem-Firmware.top_of_page]’. See Gio.DBusProxy.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.GdbusModemFirmwareProxy.new_finish() to get the result of the operation.

See ModemManager.GdbusModemFirmwareProxy.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.GdbusModemFirmwareProxy.new().

Raises:

GLib.Error

Returns:

The constructed proxy object or None if error is set.

Return type:

ModemManager.GdbusModemFirmwareProxy

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

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

Like ModemManager.GdbusModemFirmwareProxy.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.GdbusModemFirmwareProxy.new_for_bus_finish() to get the result of the operation.

See ModemManager.GdbusModemFirmwareProxy.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.GdbusModemFirmwareProxy.new_for_bus().

Raises:

GLib.Error

Returns:

The constructed proxy object or None if error is set.

Return type:

ModemManager.GdbusModemFirmwareProxy

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

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

GLib.Error

Returns:

The constructed proxy object or None if error is set.

Return type:

ModemManager.GdbusModemFirmwareProxy

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

The calling thread is blocked until a reply is received.

See ModemManager.GdbusModemFirmwareProxy.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 proxy object or None if error is set.

Return type:

ModemManager.GdbusModemFirmwareProxy

Synchronously creates a proxy for the D-Bus interface ‘org.freedesktop.ModemManager1.Modem.Firmware [gdbus-interface-org-freedesktop-ModemManager1-Modem-Firmware.top_of_page]’. See Gio.DBusProxy.new_sync() for more details.

The calling thread is blocked until a reply is received.

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