ModemManager.GdbusObjectManagerClient¶
| 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.GdbusObjectManagerClientstructure 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: - manager (Gio.DBusObjectManagerClient) – AGio.DBusObjectManagerClient.
- object_path (str) – The object path of the remote object (unused).
- interface_name (strorNone) – Interface name of the remote object orNoneto get the object proxyGObject.GType.
- user_data (objectorNone) – User data (unused).
 - Returns: - A - Gio.DBusProxyderived- GObject.GTypeif interface_name is not- None, otherwise the- GObject.GTypefor- ModemManager.GdbusObjectProxy.- Return type: - A - Gio.DBusProxyTypeFuncthat maps interface_name to the generated- Gio.DBusObjectProxyderived and- Gio.DBusProxyderived types.
- manager (
 - 
classmethod new(connection, flags, name, object_path, cancellable, callback, *user_data)¶
- Parameters: - connection (Gio.DBusConnection) – AGio.DBusConnection.
- flags (Gio.DBusObjectManagerClientFlags) – Flags from theGio.DBusObjectManagerClientFlagsenumeration.
- 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 - Gio.DBusObjectManagerClientusing- 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.
- connection (
 - 
classmethod new_finish(res)¶
- Parameters: - res ( - Gio.AsyncResult) – The- Gio.AsyncResultobtained from the- Gio.AsyncReadyCallbackpassed to- ModemManager.GdbusObjectManagerClient.new().- Raises: - GLib.Error- Returns: - The constructed object manager client or - Noneif 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: - bus_type (Gio.BusType) – AGio.BusType.
- flags (Gio.DBusObjectManagerClientFlags) – Flags from theGio.DBusObjectManagerClientFlagsenumeration.
- 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.GdbusObjectManagerClient.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.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.
- bus_type (
 - 
classmethod new_for_bus_finish(res)¶
- Parameters: - res ( - Gio.AsyncResult) – The- Gio.AsyncResultobtained from the- Gio.AsyncReadyCallbackpassed to- ModemManager.GdbusObjectManagerClient.new_for_bus().- Raises: - GLib.Error- Returns: - The constructed object manager client or - Noneif 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: - bus_type (Gio.BusType) – AGio.BusType.
- flags (Gio.DBusObjectManagerClientFlags) – Flags from theGio.DBusObjectManagerClientFlagsenumeration.
- name (str) – A bus name (well-known or unique).
- object_path (str) – An object path.
- cancellable (Gio.CancellableorNone) – AGio.CancellableorNone.
 - Raises: - Returns: - The constructed object manager client or - Noneif error is set.- Return type: - Like - ModemManager.GdbusObjectManagerClient.new_sync() but takes a- Gio.BusTypeinstead 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.
- bus_type (
 - 
classmethod new_sync(connection, flags, name, object_path, cancellable)¶
- Parameters: - connection (Gio.DBusConnection) – AGio.DBusConnection.
- flags (Gio.DBusObjectManagerClientFlags) – Flags from theGio.DBusObjectManagerClientFlagsenumeration.
- 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 object manager client or - Noneif error is set.- Return type: - Synchronously creates - Gio.DBusObjectManagerClientusing- 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.
- connection (
 
- 
classmethod