ModemManager.GdbusModemOmaProxy¶
| Subclasses: | ModemManager.ModemOma | 
|---|
Methods¶
| Inherited: | Gio.DBusProxy (25), GObject.Object (37), Gio.AsyncInitable (4), Gio.DBusInterface (3), Gio.Initable (2), ModemManager.GdbusModemOma (19) | 
|---|---|
| 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.GdbusModemOma (5) | 
|---|
Properties¶
| Inherited: | Gio.DBusProxy (9), ModemManager.GdbusModemOma (4) | 
|---|
Signals¶
| Inherited: | Gio.DBusProxy (2), GObject.Object (1), ModemManager.GdbusModemOma (5) | 
|---|
Fields¶
| Inherited: | Gio.DBusProxy (2), GObject.Object (1), ModemManager.GdbusModemOma (5) | 
|---|
| Name | Type | Access | Description | 
|---|---|---|---|
| parent_instance | Gio.DBusProxy | r | 
Class Details¶
- 
class ModemManager.GdbusModemOmaProxy(**kwargs)¶
- Bases: - Gio.DBusProxy,- ModemManager.GdbusModemOma- Abstract: - No - Structure: - ModemManager.GdbusModemOmaProxyClass- The - ModemManager.GdbusModemOmaProxystructure 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: - connection (Gio.DBusConnection) – AGio.DBusConnection.
- flags (Gio.DBusProxyFlags) – Flags from theGio.DBusProxyFlagsenumeration.
- name (strorNone) – A bus name (well-known or unique) orNoneif connection is not a message bus connection.
- object_path (str) – An object path.
- cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
- callback (Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied.
- user_data (objectorNone) – User data to pass to callback.
 - Asynchronously creates a proxy for the D-Bus interface ‘org.freedesktop.ModemManager1.Modem.Oma [gdbus-interface-org-freedesktop-ModemManager1-Modem-Oma.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.GdbusModemOmaProxy.new_finish() to get the result of the operation.- See - ModemManager.GdbusModemOmaProxy.new_sync() for the synchronous, blocking version of this constructor.
- connection (
 - 
classmethod new_finish(res)¶
- Parameters: - res ( - Gio.AsyncResult) – The- Gio.AsyncResultobtained from the- Gio.AsyncReadyCallbackpassed to- ModemManager.GdbusModemOmaProxy.new().- Raises: - GLib.Error- Returns: - The constructed proxy object or - Noneif error is set.- Return type: - ModemManager.GdbusModemOmaProxy- Finishes an operation started with - ModemManager.GdbusModemOmaProxy.new().
 - 
classmethod new_for_bus(bus_type, flags, name, object_path, cancellable, callback, *user_data)¶
- Parameters: - bus_type (Gio.BusType) – AGio.BusType.
- flags (Gio.DBusProxyFlags) – Flags from theGio.DBusProxyFlagsenumeration.
- name (str) – A bus name (well-known or unique).
- object_path (str) – An object path.
- cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
- callback (Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied.
- user_data (objectorNone) – User data to pass to callback.
 - Like - ModemManager.GdbusModemOmaProxy.new() but takes a- Gio.BusTypeinstead 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.GdbusModemOmaProxy.new_for_bus_finish() to get the result of the operation.- See - ModemManager.GdbusModemOmaProxy.new_for_bus_sync() for the synchronous, blocking version of this constructor.
- bus_type (
 - 
classmethod new_for_bus_finish(res)¶
- Parameters: - res ( - Gio.AsyncResult) – The- Gio.AsyncResultobtained from the- Gio.AsyncReadyCallbackpassed to- ModemManager.GdbusModemOmaProxy.new_for_bus().- Raises: - GLib.Error- Returns: - The constructed proxy object or - Noneif error is set.- Return type: - ModemManager.GdbusModemOmaProxy- Finishes an operation started with - ModemManager.GdbusModemOmaProxy.new_for_bus().
 - 
classmethod new_for_bus_sync(bus_type, flags, name, object_path, cancellable)¶
- Parameters: - bus_type (Gio.BusType) – AGio.BusType.
- flags (Gio.DBusProxyFlags) – Flags from theGio.DBusProxyFlagsenumeration.
- name (str) – A bus name (well-known or unique).
- object_path (str) – An object path.
- cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
 - Raises: - Returns: - The constructed proxy object or - Noneif error is set.- Return type: - Like - ModemManager.GdbusModemOmaProxy.new_sync() but takes a- Gio.BusTypeinstead of a- Gio.DBusConnection.- The calling thread is blocked until a reply is received. - See - ModemManager.GdbusModemOmaProxy.new_for_bus() for the asynchronous version of this constructor.
- bus_type (
 - 
classmethod new_sync(connection, flags, name, object_path, cancellable)¶
- Parameters: - connection (Gio.DBusConnection) – AGio.DBusConnection.
- flags (Gio.DBusProxyFlags) – Flags from theGio.DBusProxyFlagsenumeration.
- name (strorNone) – A bus name (well-known or unique) orNoneif connection is not a message bus connection.
- object_path (str) – An object path.
- cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
 - Raises: - Returns: - The constructed proxy object or - Noneif error is set.- Return type: - Synchronously creates a proxy for the D-Bus interface ‘org.freedesktop.ModemManager1.Modem.Oma [gdbus-interface-org-freedesktop-ModemManager1-Modem-Oma.top_of_page]’. See - Gio.DBusProxy.new_sync() for more details.- The calling thread is blocked until a reply is received. - See - ModemManager.GdbusModemOmaProxy.new() for the asynchronous version of this constructor.
- connection (
 
- 
classmethod