UDisks.NVMeFabricsProxy¶
- Subclasses:
None
Methods¶
- Inherited:
Gio.DBusProxy (25), GObject.Object (37), Gio.AsyncInitable (4), Gio.DBusInterface (3), Gio.Initable (2), UDisks.NVMeFabrics (6)
- Structs:
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
Virtual Methods¶
Properties¶
- Inherited:
Signals¶
- Inherited:
Gio.DBusProxy (2), GObject.Object (1), UDisks.NVMeFabrics (1)
Fields¶
- Inherited:
Gio.DBusProxy (2), GObject.Object (1), UDisks.NVMeFabrics (1)
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class UDisks.NVMeFabricsProxy(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
UDisks.NVMeFabricsProxy
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:
connection (
Gio.DBusConnection
) – AGio.DBusConnection
.flags (
Gio.DBusProxyFlags
) – Flags from theGio.DBusProxyFlags
enumeration.name (
str
orNone
) – A bus name (well-known or unique) orNone
if connection is not a message bus connection.object_path (
str
) – An object path.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied.
Asynchronously creates a proxy for the D-Bus interface ‘org.freedesktop.UDisks2.NVMe.Fabrics [gdbus-interface-org-freedesktop-UDisks2-NVMe-Fabrics.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 callUDisks.NVMeFabricsProxy.new_finish
() to get the result of the operation.See
UDisks.NVMeFabricsProxy.new_sync
() for the synchronous, blocking version of this constructor.
- classmethod new_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toUDisks.NVMeFabricsProxy.new
().- Raises:
- Returns:
The constructed proxy object or
None
if error is set.- Return type:
Finishes an operation started with
UDisks.NVMeFabricsProxy.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.DBusProxyFlags
enumeration.name (
str
) – A bus name (well-known or unique).object_path (
str
) – An object path.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied.
Like
UDisks.NVMeFabricsProxy.new
() but takes aGio.BusType
instead of aGio.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 callUDisks.NVMeFabricsProxy.new_for_bus_finish
() to get the result of the operation.See
UDisks.NVMeFabricsProxy.new_for_bus_sync
() for the synchronous, blocking version of this constructor.
- classmethod new_for_bus_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toUDisks.NVMeFabricsProxy.new_for_bus
().- Raises:
- Returns:
The constructed proxy object or
None
if error is set.- Return type:
Finishes an operation started with
UDisks.NVMeFabricsProxy.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.DBusProxyFlags
enumeration.name (
str
) – A bus name (well-known or unique).object_path (
str
) – An object path.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
The constructed proxy object or
None
if error is set.- Return type:
Like
UDisks.NVMeFabricsProxy.new_sync
() but takes aGio.BusType
instead of aGio.DBusConnection
.The calling thread is blocked until a reply is received.
See
UDisks.NVMeFabricsProxy.new_for_bus
() for the asynchronous version of this constructor.
- classmethod new_sync(connection, flags, name, object_path, cancellable)¶
- Parameters:
connection (
Gio.DBusConnection
) – AGio.DBusConnection
.flags (
Gio.DBusProxyFlags
) – Flags from theGio.DBusProxyFlags
enumeration.name (
str
orNone
) – A bus name (well-known or unique) orNone
if connection is not a message bus connection.object_path (
str
) – An object path.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
The constructed proxy object or
None
if error is set.- Return type:
Synchronously creates a proxy for the D-Bus interface ‘org.freedesktop.UDisks2.NVMe.Fabrics [gdbus-interface-org-freedesktop-UDisks2-NVMe-Fabrics.top_of_page]’. See
Gio.DBusProxy.new_sync
() for more details.The calling thread is blocked until a reply is received.
See
UDisks.NVMeFabricsProxy.new
() for the asynchronous version of this constructor.