UDisks.MDRaid¶
- Implementations:
Methods¶
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
|
|
|
|
|
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
ActiveDevices |
||
r/w |
BitmapLocation |
||
r/w |
ChildConfiguration |
||
r/w |
ChunkSize |
||
r/w |
Degraded |
||
r/w |
Level |
||
r/w |
Name |
||
r/w |
NumDevices |
||
r/w |
Running |
||
r/w |
Size |
||
r/w |
SyncAction |
||
r/w |
SyncCompleted |
||
r/w |
SyncRate |
||
r/w |
SyncRemainingTime |
||
r/w |
UUID |
Signals¶
Name |
Short Description |
---|---|
Signal emitted when a remote caller is invoking the AddDevice() D-Bus method. |
|
Signal emitted when a remote caller is invoking the Delete() D-Bus method. |
|
Signal emitted when a remote caller is invoking the RemoveDevice() D-Bus method. |
|
Signal emitted when a remote caller is invoking the RequestSyncAction() D-Bus method. |
|
Signal emitted when a remote caller is invoking the SetBitmapLocation() D-Bus method. |
|
Signal emitted when a remote caller is invoking the Start() D-Bus method. |
|
Signal emitted when a remote caller is invoking the Stop() D-Bus method. |
Fields¶
None
Class Details¶
- class UDisks.MDRaid¶
- Bases:
- Structure:
Abstract interface type for the D-Bus interface org.freedesktop.UDisks2.MDRaid.
New in version 2.0.0.
- classmethod interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the org.freedesktop.UDisks2.MDRaid D-Bus interface.
New in version 2.0.0.
- classmethod override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theUDisks.MDRaid
interface for a concrete class. The properties are overridden in the order they are defined.New in version 2.0.0.
- call_add_device(arg_device, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_device (
str
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the AddDevice() D-Bus method on self. 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.MDRaid.call_add_device_finish
() to get the result of the operation.See
UDisks.MDRaid.call_add_device_sync
() for the synchronous, blocking version of this method.New in version 2.0.0.
- call_add_device_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toUDisks.MDRaid.call_add_device
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.MDRaid.call_add_device
().New in version 2.0.0.
- call_add_device_sync(arg_device, arg_options, cancellable)¶
- Parameters:
arg_device (
str
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the AddDevice() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.MDRaid.call_add_device
() for the asynchronous version of this method.New in version 2.0.0.
- call_delete(arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the Delete() D-Bus method on self. 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.MDRaid.call_delete_finish
() to get the result of the operation.See
UDisks.MDRaid.call_delete_sync
() for the synchronous, blocking version of this method.New in version 2.0.0.
- call_delete_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toUDisks.MDRaid.call_delete
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.MDRaid.call_delete
().New in version 2.0.0.
- call_delete_sync(arg_options, cancellable)¶
- Parameters:
arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the Delete() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.MDRaid.call_delete
() for the asynchronous version of this method.New in version 2.0.0.
- call_remove_device(arg_device, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_device (
str
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the RemoveDevice() D-Bus method on self. 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.MDRaid.call_remove_device_finish
() to get the result of the operation.See
UDisks.MDRaid.call_remove_device_sync
() for the synchronous, blocking version of this method.New in version 2.0.0.
- call_remove_device_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toUDisks.MDRaid.call_remove_device
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.MDRaid.call_remove_device
().New in version 2.0.0.
- call_remove_device_sync(arg_device, arg_options, cancellable)¶
- Parameters:
arg_device (
str
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the RemoveDevice() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.MDRaid.call_remove_device
() for the asynchronous version of this method.New in version 2.0.0.
- call_request_sync_action(arg_sync_action, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_sync_action (
str
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the RequestSyncAction() D-Bus method on self. 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.MDRaid.call_request_sync_action_finish
() to get the result of the operation.See
UDisks.MDRaid.call_request_sync_action_sync
() for the synchronous, blocking version of this method.New in version 2.0.0.
- call_request_sync_action_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toUDisks.MDRaid.call_request_sync_action
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.MDRaid.call_request_sync_action
().New in version 2.0.0.
- call_request_sync_action_sync(arg_sync_action, arg_options, cancellable)¶
- Parameters:
arg_sync_action (
str
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the RequestSyncAction() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.MDRaid.call_request_sync_action
() for the asynchronous version of this method.New in version 2.0.0.
- call_set_bitmap_location(arg_value, arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_value (
str
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the SetBitmapLocation() D-Bus method on self. 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.MDRaid.call_set_bitmap_location_finish
() to get the result of the operation.See
UDisks.MDRaid.call_set_bitmap_location_sync
() for the synchronous, blocking version of this method.New in version 2.0.0.
- call_set_bitmap_location_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toUDisks.MDRaid.call_set_bitmap_location
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.MDRaid.call_set_bitmap_location
().New in version 2.0.0.
- call_set_bitmap_location_sync(arg_value, arg_options, cancellable)¶
- Parameters:
arg_value (
str
) – Argument to pass with the method invocation.arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the SetBitmapLocation() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.MDRaid.call_set_bitmap_location
() for the asynchronous version of this method.New in version 2.0.0.
- call_start(arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the Start() D-Bus method on self. 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.MDRaid.call_start_finish
() to get the result of the operation.See
UDisks.MDRaid.call_start_sync
() for the synchronous, blocking version of this method.New in version 2.0.0.
- call_start_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toUDisks.MDRaid.call_start
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.MDRaid.call_start
().New in version 2.0.0.
- call_start_sync(arg_options, cancellable)¶
- Parameters:
arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the Start() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.MDRaid.call_start
() for the asynchronous version of this method.New in version 2.0.0.
- call_stop(arg_options, cancellable, callback, *user_data)¶
- Parameters:
arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the Stop() D-Bus method on self. 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.MDRaid.call_stop_finish
() to get the result of the operation.See
UDisks.MDRaid.call_stop_sync
() for the synchronous, blocking version of this method.New in version 2.0.0.
- call_stop_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toUDisks.MDRaid.call_stop
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
UDisks.MDRaid.call_stop
().New in version 2.0.0.
- call_stop_sync(arg_options, cancellable)¶
- Parameters:
arg_options (
GLib.Variant
) – Argument to pass with the method invocation.cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.
- Raises:
- Returns:
- Return type:
Synchronously invokes the Stop() D-Bus method on self. The calling thread is blocked until a reply is received.
See
UDisks.MDRaid.call_stop
() for the asynchronous version of this method.New in version 2.0.0.
- complete_add_device(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the AddDevice() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.0.0.
- complete_delete(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the Delete() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.0.0.
- complete_remove_device(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the RemoveDevice() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.0.0.
- complete_request_sync_action(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the RequestSyncAction() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.0.0.
- complete_set_bitmap_location(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the SetBitmapLocation() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.0.0.
- complete_start(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the Start() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.0.0.
- complete_stop(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the Stop() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
This method will free invocation, you cannot use it afterwards.
New in version 2.0.0.
- do_handle_add_device(invocation, arg_device, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_device (
str
) –arg_options (
GLib.Variant
) –
- Return type:
Handler for the
UDisks.MDRaid
::handle-add-device
signal.
- do_handle_delete(invocation, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_options (
GLib.Variant
) –
- Return type:
Handler for the
UDisks.MDRaid
::handle-delete
signal.
- do_handle_remove_device(invocation, arg_device, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_device (
str
) –arg_options (
GLib.Variant
) –
- Return type:
Handler for the
UDisks.MDRaid
::handle-remove-device
signal.
- do_handle_request_sync_action(invocation, arg_sync_action, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_sync_action (
str
) –arg_options (
GLib.Variant
) –
- Return type:
Handler for the
UDisks.MDRaid
::handle-request-sync-action
signal.
- do_handle_set_bitmap_location(invocation, arg_value, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_value (
str
) –arg_options (
GLib.Variant
) –
- Return type:
Handler for the
UDisks.MDRaid
::handle-set-bitmap-location
signal.
- do_handle_start(invocation, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_options (
GLib.Variant
) –
- Return type:
Handler for the
UDisks.MDRaid
::handle-start
signal.
- do_handle_stop(invocation, arg_options) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –arg_options (
GLib.Variant
) –
- Return type:
Handler for the
UDisks.MDRaid
::handle-stop
signal.
Signal Details¶
- UDisks.MDRaid.signals.handle_add_device(m_d_raid, invocation, arg_device, arg_options)¶
- Signal Name:
handle-add-device
- Flags:
- Parameters:
m_d_raid (
UDisks.MDRaid
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_device (
str
) – Argument passed by remote caller.arg_options (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the AddDevice() D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.MDRaid.complete_add_device
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.New in version 2.0.0.
- UDisks.MDRaid.signals.handle_delete(m_d_raid, invocation, arg_options)¶
- Signal Name:
handle-delete
- Flags:
- Parameters:
m_d_raid (
UDisks.MDRaid
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_options (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the Delete() D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.MDRaid.complete_delete
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.New in version 2.0.0.
- UDisks.MDRaid.signals.handle_remove_device(m_d_raid, invocation, arg_device, arg_options)¶
- Signal Name:
handle-remove-device
- Flags:
- Parameters:
m_d_raid (
UDisks.MDRaid
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_device (
str
) – Argument passed by remote caller.arg_options (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the RemoveDevice() D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.MDRaid.complete_remove_device
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.New in version 2.0.0.
- UDisks.MDRaid.signals.handle_request_sync_action(m_d_raid, invocation, arg_sync_action, arg_options)¶
- Signal Name:
handle-request-sync-action
- Flags:
- Parameters:
m_d_raid (
UDisks.MDRaid
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_sync_action (
str
) – Argument passed by remote caller.arg_options (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the RequestSyncAction() D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.MDRaid.complete_request_sync_action
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.New in version 2.0.0.
- UDisks.MDRaid.signals.handle_set_bitmap_location(m_d_raid, invocation, arg_value, arg_options)¶
- Signal Name:
handle-set-bitmap-location
- Flags:
- Parameters:
m_d_raid (
UDisks.MDRaid
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_value (
str
) – Argument passed by remote caller.arg_options (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the SetBitmapLocation() D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.MDRaid.complete_set_bitmap_location
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.New in version 2.0.0.
- UDisks.MDRaid.signals.handle_start(m_d_raid, invocation, arg_options)¶
- Signal Name:
handle-start
- Flags:
- Parameters:
m_d_raid (
UDisks.MDRaid
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_options (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the Start() D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.MDRaid.complete_start
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.New in version 2.0.0.
- UDisks.MDRaid.signals.handle_stop(m_d_raid, invocation, arg_options)¶
- Signal Name:
handle-stop
- Flags:
- Parameters:
m_d_raid (
UDisks.MDRaid
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.arg_options (
GLib.Variant
) – Argument passed by remote caller.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the Stop() D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callUDisks.MDRaid.complete_stop
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.New in version 2.0.0.
Property Details¶
- UDisks.MDRaid.props.active_devices¶
- Name:
active-devices
- Type:
- Default Value:
- Flags:
Represents the D-Bus property “ActiveDevices”.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.
- UDisks.MDRaid.props.bitmap_location¶
-
Represents the D-Bus property “BitmapLocation”.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.
- UDisks.MDRaid.props.child_configuration¶
- Name:
child-configuration
- Type:
- Default Value:
- Flags:
Represents the D-Bus property “ChildConfiguration”.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.
- UDisks.MDRaid.props.chunk_size¶
-
Represents the D-Bus property “ChunkSize”.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.
- UDisks.MDRaid.props.degraded¶
-
Represents the D-Bus property “Degraded”.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.
- UDisks.MDRaid.props.level¶
-
Represents the D-Bus property “Level”.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.
- UDisks.MDRaid.props.name¶
-
Represents the D-Bus property “Name”.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.
- UDisks.MDRaid.props.num_devices¶
-
Represents the D-Bus property “NumDevices”.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.
- UDisks.MDRaid.props.running¶
-
Represents the D-Bus property “Running”.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.
- UDisks.MDRaid.props.size¶
-
Represents the D-Bus property “Size”.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.
- UDisks.MDRaid.props.sync_action¶
-
Represents the D-Bus property “SyncAction”.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.
- UDisks.MDRaid.props.sync_completed¶
-
Represents the D-Bus property “SyncCompleted”.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.
- UDisks.MDRaid.props.sync_rate¶
-
Represents the D-Bus property “SyncRate”.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.
- UDisks.MDRaid.props.sync_remaining_time¶
-
Represents the D-Bus property “SyncRemainingTime”.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.
- UDisks.MDRaid.props.uuid¶
-
Represents the D-Bus property “UUID”.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.New in version 2.0.0.