| Storaged Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Prerequisites | Known Implementations | Properties | Signals | ||||
StoragedMDRaidStoragedMDRaid — Generated C code for the org.storaged.Storaged.MDRaid D-Bus interface |
StoragedMDRaid; struct StoragedMDRaidIface; GDBusInterfaceInfo * storaged_mdraid_interface_info (void); guint storaged_mdraid_override_properties (GObjectClass *klass,guint property_id_begin); void storaged_mdraid_call_remove_device (StoragedMDRaid *proxy,const gchar *arg_device,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); gboolean storaged_mdraid_call_remove_device_finish (StoragedMDRaid *proxy,GAsyncResult *res,GError **error); gboolean storaged_mdraid_call_remove_device_sync (StoragedMDRaid *proxy,const gchar *arg_device,GVariant *arg_options,GCancellable *cancellable,GError **error); void storaged_mdraid_complete_remove_device (StoragedMDRaid *object,GDBusMethodInvocation *invocation); void storaged_mdraid_call_add_device (StoragedMDRaid *proxy,const gchar *arg_device,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); gboolean storaged_mdraid_call_add_device_finish (StoragedMDRaid *proxy,GAsyncResult *res,GError **error); gboolean storaged_mdraid_call_add_device_sync (StoragedMDRaid *proxy,const gchar *arg_device,GVariant *arg_options,GCancellable *cancellable,GError **error); void storaged_mdraid_complete_add_device (StoragedMDRaid *object,GDBusMethodInvocation *invocation); void storaged_mdraid_call_start (StoragedMDRaid *proxy,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); gboolean storaged_mdraid_call_start_finish (StoragedMDRaid *proxy,GAsyncResult *res,GError **error); gboolean storaged_mdraid_call_start_sync (StoragedMDRaid *proxy,GVariant *arg_options,GCancellable *cancellable,GError **error); void storaged_mdraid_complete_start (StoragedMDRaid *object,GDBusMethodInvocation *invocation); void storaged_mdraid_call_stop (StoragedMDRaid *proxy,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); gboolean storaged_mdraid_call_stop_finish (StoragedMDRaid *proxy,GAsyncResult *res,GError **error); gboolean storaged_mdraid_call_stop_sync (StoragedMDRaid *proxy,GVariant *arg_options,GCancellable *cancellable,GError **error); void storaged_mdraid_complete_stop (StoragedMDRaid *object,GDBusMethodInvocation *invocation); void storaged_mdraid_call_set_bitmap_location (StoragedMDRaid *proxy,const gchar *arg_value,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); gboolean storaged_mdraid_call_set_bitmap_location_finish (StoragedMDRaid *proxy,GAsyncResult *res,GError **error); gboolean storaged_mdraid_call_set_bitmap_location_sync (StoragedMDRaid *proxy,const gchar *arg_value,GVariant *arg_options,GCancellable *cancellable,GError **error); void storaged_mdraid_complete_set_bitmap_location (StoragedMDRaid *object,GDBusMethodInvocation *invocation); void storaged_mdraid_call_request_sync_action (StoragedMDRaid *proxy,const gchar *arg_sync_action,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); gboolean storaged_mdraid_call_request_sync_action_finish (StoragedMDRaid *proxy,GAsyncResult *res,GError **error); gboolean storaged_mdraid_call_request_sync_action_sync (StoragedMDRaid *proxy,const gchar *arg_sync_action,GVariant *arg_options,GCancellable *cancellable,GError **error); void storaged_mdraid_complete_request_sync_action (StoragedMDRaid *object,GDBusMethodInvocation *invocation); GVariant * storaged_mdraid_get_active_devices (StoragedMDRaid *object); const gchar * storaged_mdraid_get_bitmap_location (StoragedMDRaid *object); guint64 storaged_mdraid_get_chunk_size (StoragedMDRaid *object); guint storaged_mdraid_get_degraded (StoragedMDRaid *object); const gchar * storaged_mdraid_get_level (StoragedMDRaid *object); const gchar * storaged_mdraid_get_name (StoragedMDRaid *object); guint storaged_mdraid_get_num_devices (StoragedMDRaid *object); guint64 storaged_mdraid_get_size (StoragedMDRaid *object); const gchar * storaged_mdraid_get_sync_action (StoragedMDRaid *object); gdouble storaged_mdraid_get_sync_completed (StoragedMDRaid *object); guint64 storaged_mdraid_get_sync_rate (StoragedMDRaid *object); guint64 storaged_mdraid_get_sync_remaining_time (StoragedMDRaid *object); const gchar * storaged_mdraid_get_uuid (StoragedMDRaid *object); GVariant * storaged_mdraid_dup_active_devices (StoragedMDRaid *object); gchar * storaged_mdraid_dup_bitmap_location (StoragedMDRaid *object); gchar * storaged_mdraid_dup_level (StoragedMDRaid *object); gchar * storaged_mdraid_dup_name (StoragedMDRaid *object); gchar * storaged_mdraid_dup_sync_action (StoragedMDRaid *object); gchar * storaged_mdraid_dup_uuid (StoragedMDRaid *object); void storaged_mdraid_set_active_devices (StoragedMDRaid *object,GVariant *value); void storaged_mdraid_set_bitmap_location (StoragedMDRaid *object,const gchar *value); void storaged_mdraid_set_chunk_size (StoragedMDRaid *object,guint64 value); void storaged_mdraid_set_degraded (StoragedMDRaid *object,guint value); void storaged_mdraid_set_level (StoragedMDRaid *object,const gchar *value); void storaged_mdraid_set_name (StoragedMDRaid *object,const gchar *value); void storaged_mdraid_set_num_devices (StoragedMDRaid *object,guint value); void storaged_mdraid_set_size (StoragedMDRaid *object,guint64 value); void storaged_mdraid_set_sync_action (StoragedMDRaid *object,const gchar *value); void storaged_mdraid_set_sync_completed (StoragedMDRaid *object,gdouble value); void storaged_mdraid_set_sync_rate (StoragedMDRaid *object,guint64 value); void storaged_mdraid_set_sync_remaining_time (StoragedMDRaid *object,guint64 value); void storaged_mdraid_set_uuid (StoragedMDRaid *object,const gchar *value); struct StoragedMDRaidProxy; struct StoragedMDRaidProxyClass; void storaged_mdraid_proxy_new (GDBusConnection *connection,GDBusProxyFlags flags,const gchar *name,const gchar *object_path,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); StoragedMDRaid * storaged_mdraid_proxy_new_finish (GAsyncResult *res,GError **error); StoragedMDRaid * storaged_mdraid_proxy_new_sync (GDBusConnection *connection,GDBusProxyFlags flags,const gchar *name,const gchar *object_path,GCancellable *cancellable,GError **error); void storaged_mdraid_proxy_new_for_bus (GBusType bus_type,GDBusProxyFlags flags,const gchar *name,const gchar *object_path,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); StoragedMDRaid * storaged_mdraid_proxy_new_for_bus_finish (GAsyncResult *res,GError **error); StoragedMDRaid * storaged_mdraid_proxy_new_for_bus_sync (GBusType bus_type,GDBusProxyFlags flags,const gchar *name,const gchar *object_path,GCancellable *cancellable,GError **error); struct StoragedMDRaidSkeleton; struct StoragedMDRaidSkeletonClass; StoragedMDRaid * storaged_mdraid_skeleton_new (void);
GInterface +----StoragedMDRaid
GObject
+----GDBusProxy
+----StoragedMDRaidProxy
GObject
+----GDBusInterfaceSkeleton
+----StoragedMDRaidSkeleton
+----StoragedLinuxMDRaid
StoragedMDRaidProxy implements GDBusInterface, GInitable, GAsyncInitable and StoragedMDRaid.
StoragedMDRaidSkeleton implements GDBusInterface and StoragedMDRaid.
StoragedMDRaid is implemented by StoragedLinuxMDRaid, StoragedMDRaidProxy and StoragedMDRaidSkeleton.
"active-devices" GVariant* : Read / Write "bitmap-location" gchar* : Read / Write "child-configuration" GVariant* : Read / Write "chunk-size" guint64 : Read / Write "degraded" guint : Read / Write "level" gchar* : Read / Write "name" gchar* : Read / Write "num-devices" guint : Read / Write "running" gboolean : Read / Write "size" guint64 : Read / Write "sync-action" gchar* : Read / Write "sync-completed" gdouble : Read / Write "sync-rate" guint64 : Read / Write "sync-remaining-time" guint64 : Read / Write "uuid" gchar* : Read / Write
"handle-add-device" :Run Last"handle-delete" :Run Last"handle-remove-device" :Run Last"handle-request-sync-action" :Run Last"handle-set-bitmap-location" :Run Last"handle-start" :Run Last"handle-stop" :Run Last
This section contains code for working with the org.storaged.Storaged.MDRaid D-Bus interface in C.
typedef struct _StoragedMDRaid StoragedMDRaid;
Abstract interface type for the D-Bus interface org.storaged.Storaged.MDRaid.
Since 2.0.0
struct StoragedMDRaidIface {
GTypeInterface parent_iface;
gboolean (*handle_add_device) (
StoragedMDRaid *object,
GDBusMethodInvocation *invocation,
const gchar *arg_device,
GVariant *arg_options);
gboolean (*handle_delete) (
StoragedMDRaid *object,
GDBusMethodInvocation *invocation,
GVariant *arg_options);
gboolean (*handle_remove_device) (
StoragedMDRaid *object,
GDBusMethodInvocation *invocation,
const gchar *arg_device,
GVariant *arg_options);
gboolean (*handle_request_sync_action) (
StoragedMDRaid *object,
GDBusMethodInvocation *invocation,
const gchar *arg_sync_action,
GVariant *arg_options);
gboolean (*handle_set_bitmap_location) (
StoragedMDRaid *object,
GDBusMethodInvocation *invocation,
const gchar *arg_value,
GVariant *arg_options);
gboolean (*handle_start) (
StoragedMDRaid *object,
GDBusMethodInvocation *invocation,
GVariant *arg_options);
gboolean (*handle_stop) (
StoragedMDRaid *object,
GDBusMethodInvocation *invocation,
GVariant *arg_options);
GVariant * (*get_active_devices) (StoragedMDRaid *object);
const gchar * (*get_bitmap_location) (StoragedMDRaid *object);
GVariant * (*get_child_configuration) (StoragedMDRaid *object);
guint64 (*get_chunk_size) (StoragedMDRaid *object);
guint (*get_degraded) (StoragedMDRaid *object);
const gchar * (*get_level) (StoragedMDRaid *object);
const gchar * (*get_name) (StoragedMDRaid *object);
guint (*get_num_devices) (StoragedMDRaid *object);
gboolean (*get_running) (StoragedMDRaid *object);
guint64 (*get_size) (StoragedMDRaid *object);
const gchar * (*get_sync_action) (StoragedMDRaid *object);
gdouble (*get_sync_completed) (StoragedMDRaid *object);
guint64 (*get_sync_rate) (StoragedMDRaid *object);
guint64 (*get_sync_remaining_time) (StoragedMDRaid *object);
const gchar * (*get_uuid) (StoragedMDRaid *object);
};
Virtual table for the D-Bus interface org.storaged.Storaged.MDRaid.
| The parent interface. | |
| Handler for the "handle-add-device" signal. | |
| Handler for the "handle-delete" signal. | |
| Handler for the "handle-remove-device" signal. | |
| Handler for the "handle-request-sync-action" signal. | |
| Handler for the "handle-set-bitmap-location" signal. | |
| Handler for the "handle-start" signal. | |
| Handler for the "handle-stop" signal. | |
| Getter for the "active-devices" property. | |
| Getter for the "bitmap-location" property. | |
| Getter for the "child-configuration" property. | |
| Getter for the "chunk-size" property. | |
| Getter for the "degraded" property. | |
| Getter for the "level" property. | |
| Getter for the "name" property. | |
| Getter for the "num-devices" property. | |
| Getter for the "running" property. | |
| Getter for the "size" property. | |
| Getter for the "sync-action" property. | |
| Getter for the "sync-completed" property. | |
| Getter for the "sync-rate" property. | |
| Getter for the "sync-remaining-time" property. | |
| Getter for the "uuid" property. |
Since 2.0.0
GDBusInterfaceInfo * storaged_mdraid_interface_info (void);
Gets a machine-readable description of the org.storaged.Storaged.MDRaid D-Bus interface.
Returns : |
A GDBusInterfaceInfo. Do not free. [transfer none] |
Since 2.0.0
guint storaged_mdraid_override_properties (GObjectClass *klass,guint property_id_begin);
Overrides all GObject properties in the StoragedMDRaid interface for a concrete class. The properties are overridden in the order they are defined.
|
The class structure for a GObject-derived class. |
|
The property id to assign to the first overridden property. |
Returns : |
The last property id. |
Since 2.0.0
void storaged_mdraid_call_remove_device (StoragedMDRaid *proxy,const gchar *arg_device,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the RemoveDevice() D-Bus method on proxy.
When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call storaged_mdraid_call_remove_device_finish() to get the result of the operation.
See storaged_mdraid_call_remove_device_sync() for the synchronous, blocking version of this method.
|
A StoragedMDRaidProxy. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL. [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL. |
|
User data to pass to callback. |
Since 2.0.0
gboolean storaged_mdraid_call_remove_device_finish (StoragedMDRaid *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with storaged_mdraid_call_remove_device().
|
A StoragedMDRaidProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to storaged_mdraid_call_remove_device(). |
|
Return location for error or NULL. |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
Since 2.0.0
gboolean storaged_mdraid_call_remove_device_sync (StoragedMDRaid *proxy,const gchar *arg_device,GVariant *arg_options,GCancellable *cancellable,GError **error);
Synchronously invokes the RemoveDevice() D-Bus method on proxy. The calling thread is blocked until a reply is received.
See storaged_mdraid_call_remove_device() for the asynchronous version of this method.
|
A StoragedMDRaidProxy. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL. [allow-none]
|
|
Return location for error or NULL. |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
Since 2.0.0
void storaged_mdraid_complete_remove_device (StoragedMDRaid *object,GDBusMethodInvocation *invocation);
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.
|
A StoragedMDRaid. |
|
A GDBusMethodInvocation. [transfer full] |
Since 2.0.0
void storaged_mdraid_call_add_device (StoragedMDRaid *proxy,const gchar *arg_device,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the AddDevice() D-Bus method on proxy.
When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call storaged_mdraid_call_add_device_finish() to get the result of the operation.
See storaged_mdraid_call_add_device_sync() for the synchronous, blocking version of this method.
|
A StoragedMDRaidProxy. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL. [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL. |
|
User data to pass to callback. |
Since 2.0.0
gboolean storaged_mdraid_call_add_device_finish (StoragedMDRaid *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with storaged_mdraid_call_add_device().
|
A StoragedMDRaidProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to storaged_mdraid_call_add_device(). |
|
Return location for error or NULL. |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
Since 2.0.0
gboolean storaged_mdraid_call_add_device_sync (StoragedMDRaid *proxy,const gchar *arg_device,GVariant *arg_options,GCancellable *cancellable,GError **error);
Synchronously invokes the AddDevice() D-Bus method on proxy. The calling thread is blocked until a reply is received.
See storaged_mdraid_call_add_device() for the asynchronous version of this method.
|
A StoragedMDRaidProxy. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL. [allow-none]
|
|
Return location for error or NULL. |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
Since 2.0.0
void storaged_mdraid_complete_add_device (StoragedMDRaid *object,GDBusMethodInvocation *invocation);
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.
|
A StoragedMDRaid. |
|
A GDBusMethodInvocation. [transfer full] |
Since 2.0.0
void storaged_mdraid_call_start (StoragedMDRaid *proxy,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the Start() D-Bus method on proxy.
When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call storaged_mdraid_call_start_finish() to get the result of the operation.
See storaged_mdraid_call_start_sync() for the synchronous, blocking version of this method.
|
A StoragedMDRaidProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL. [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL. |
|
User data to pass to callback. |
Since 2.0.0
gboolean storaged_mdraid_call_start_finish (StoragedMDRaid *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with storaged_mdraid_call_start().
|
A StoragedMDRaidProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to storaged_mdraid_call_start(). |
|
Return location for error or NULL. |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
Since 2.0.0
gboolean storaged_mdraid_call_start_sync (StoragedMDRaid *proxy,GVariant *arg_options,GCancellable *cancellable,GError **error);
Synchronously invokes the Start() D-Bus method on proxy. The calling thread is blocked until a reply is received.
See storaged_mdraid_call_start() for the asynchronous version of this method.
|
A StoragedMDRaidProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL. [allow-none]
|
|
Return location for error or NULL. |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
Since 2.0.0
void storaged_mdraid_complete_start (StoragedMDRaid *object,GDBusMethodInvocation *invocation);
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.
|
A StoragedMDRaid. |
|
A GDBusMethodInvocation. [transfer full] |
Since 2.0.0
void storaged_mdraid_call_stop (StoragedMDRaid *proxy,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the Stop() D-Bus method on proxy.
When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call storaged_mdraid_call_stop_finish() to get the result of the operation.
See storaged_mdraid_call_stop_sync() for the synchronous, blocking version of this method.
|
A StoragedMDRaidProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL. [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL. |
|
User data to pass to callback. |
Since 2.0.0
gboolean storaged_mdraid_call_stop_finish (StoragedMDRaid *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with storaged_mdraid_call_stop().
|
A StoragedMDRaidProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to storaged_mdraid_call_stop(). |
|
Return location for error or NULL. |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
Since 2.0.0
gboolean storaged_mdraid_call_stop_sync (StoragedMDRaid *proxy,GVariant *arg_options,GCancellable *cancellable,GError **error);
Synchronously invokes the Stop() D-Bus method on proxy. The calling thread is blocked until a reply is received.
See storaged_mdraid_call_stop() for the asynchronous version of this method.
|
A StoragedMDRaidProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL. [allow-none]
|
|
Return location for error or NULL. |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
Since 2.0.0
void storaged_mdraid_complete_stop (StoragedMDRaid *object,GDBusMethodInvocation *invocation);
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.
|
A StoragedMDRaid. |
|
A GDBusMethodInvocation. [transfer full] |
Since 2.0.0
void storaged_mdraid_call_set_bitmap_location (StoragedMDRaid *proxy,const gchar *arg_value,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the SetBitmapLocation() D-Bus method on proxy.
When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call storaged_mdraid_call_set_bitmap_location_finish() to get the result of the operation.
See storaged_mdraid_call_set_bitmap_location_sync() for the synchronous, blocking version of this method.
|
A StoragedMDRaidProxy. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL. [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL. |
|
User data to pass to callback. |
Since 2.0.0
gboolean storaged_mdraid_call_set_bitmap_location_finish (StoragedMDRaid *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with storaged_mdraid_call_set_bitmap_location().
|
A StoragedMDRaidProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to storaged_mdraid_call_set_bitmap_location(). |
|
Return location for error or NULL. |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
Since 2.0.0
gboolean storaged_mdraid_call_set_bitmap_location_sync (StoragedMDRaid *proxy,const gchar *arg_value,GVariant *arg_options,GCancellable *cancellable,GError **error);
Synchronously invokes the SetBitmapLocation() D-Bus method on proxy. The calling thread is blocked until a reply is received.
See storaged_mdraid_call_set_bitmap_location() for the asynchronous version of this method.
|
A StoragedMDRaidProxy. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL. [allow-none]
|
|
Return location for error or NULL. |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
Since 2.0.0
void storaged_mdraid_complete_set_bitmap_location (StoragedMDRaid *object,GDBusMethodInvocation *invocation);
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.
|
A StoragedMDRaid. |
|
A GDBusMethodInvocation. [transfer full] |
Since 2.0.0
void storaged_mdraid_call_request_sync_action (StoragedMDRaid *proxy,const gchar *arg_sync_action,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously invokes the RequestSyncAction() D-Bus method on proxy.
When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call storaged_mdraid_call_request_sync_action_finish() to get the result of the operation.
See storaged_mdraid_call_request_sync_action_sync() for the synchronous, blocking version of this method.
|
A StoragedMDRaidProxy. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL. [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL. |
|
User data to pass to callback. |
Since 2.0.0
gboolean storaged_mdraid_call_request_sync_action_finish (StoragedMDRaid *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with storaged_mdraid_call_request_sync_action().
|
A StoragedMDRaidProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to storaged_mdraid_call_request_sync_action(). |
|
Return location for error or NULL. |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
Since 2.0.0
gboolean storaged_mdraid_call_request_sync_action_sync (StoragedMDRaid *proxy,const gchar *arg_sync_action,GVariant *arg_options,GCancellable *cancellable,GError **error);
Synchronously invokes the RequestSyncAction() D-Bus method on proxy. The calling thread is blocked until a reply is received.
See storaged_mdraid_call_request_sync_action() for the asynchronous version of this method.
|
A StoragedMDRaidProxy. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL. [allow-none]
|
|
Return location for error or NULL. |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
Since 2.0.0
void storaged_mdraid_complete_request_sync_action (StoragedMDRaid *object,GDBusMethodInvocation *invocation);
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.
|
A StoragedMDRaid. |
|
A GDBusMethodInvocation. [transfer full] |
Since 2.0.0
GVariant * storaged_mdraid_get_active_devices (StoragedMDRaid *object);
Gets the value of the "ActiveDevices" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object was constructed. Use storaged_mdraid_dup_active_devices() if on another thread.
|
A StoragedMDRaid. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object. [transfer none]
|
Since 2.0.0
const gchar * storaged_mdraid_get_bitmap_location (StoragedMDRaid *object);
Gets the value of the "BitmapLocation" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object was constructed. Use storaged_mdraid_dup_bitmap_location() if on another thread.
|
A StoragedMDRaid. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object. [transfer none]
|
Since 2.0.0
guint64 storaged_mdraid_get_chunk_size (StoragedMDRaid *object);
Gets the value of the "ChunkSize" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A StoragedMDRaid. |
Returns : |
The property value. |
Since 2.0.0
guint storaged_mdraid_get_degraded (StoragedMDRaid *object);
Gets the value of the "Degraded" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A StoragedMDRaid. |
Returns : |
The property value. |
Since 2.0.0
const gchar * storaged_mdraid_get_level (StoragedMDRaid *object);
Gets the value of the "Level" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object was constructed. Use storaged_mdraid_dup_level() if on another thread.
|
A StoragedMDRaid. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object. [transfer none]
|
Since 2.0.0
const gchar * storaged_mdraid_get_name (StoragedMDRaid *object);
Gets the value of the "Name" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object was constructed. Use storaged_mdraid_dup_name() if on another thread.
|
A StoragedMDRaid. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object. [transfer none]
|
Since 2.0.0
guint storaged_mdraid_get_num_devices (StoragedMDRaid *object);
Gets the value of the "NumDevices" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A StoragedMDRaid. |
Returns : |
The property value. |
Since 2.0.0
guint64 storaged_mdraid_get_size (StoragedMDRaid *object);
Gets the value of the "Size" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A StoragedMDRaid. |
Returns : |
The property value. |
Since 2.0.0
const gchar * storaged_mdraid_get_sync_action (StoragedMDRaid *object);
Gets the value of the "SyncAction" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object was constructed. Use storaged_mdraid_dup_sync_action() if on another thread.
|
A StoragedMDRaid. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object. [transfer none]
|
Since 2.0.0
gdouble storaged_mdraid_get_sync_completed (StoragedMDRaid *object);
Gets the value of the "SyncCompleted" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A StoragedMDRaid. |
Returns : |
The property value. |
Since 2.0.0
guint64 storaged_mdraid_get_sync_rate (StoragedMDRaid *object);
Gets the value of the "SyncRate" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A StoragedMDRaid. |
Returns : |
The property value. |
Since 2.0.0
guint64 storaged_mdraid_get_sync_remaining_time
(StoragedMDRaid *object);
Gets the value of the "SyncRemainingTime" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A StoragedMDRaid. |
Returns : |
The property value. |
Since 2.0.0
const gchar * storaged_mdraid_get_uuid (StoragedMDRaid *object);
Gets the value of the "UUID" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object was constructed. Use storaged_mdraid_dup_uuid() if on another thread.
|
A StoragedMDRaid. |
Returns : |
The property value or NULL if the property is not set. Do not free the returned value, it belongs to object. [transfer none]
|
Since 2.0.0
GVariant * storaged_mdraid_dup_active_devices (StoragedMDRaid *object);
Gets a copy of the "ActiveDevices" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A StoragedMDRaid. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_variant_unref(). [transfer full]
|
Since 2.0.0
gchar * storaged_mdraid_dup_bitmap_location (StoragedMDRaid *object);
Gets a copy of the "BitmapLocation" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A StoragedMDRaid. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free(). [transfer full]
|
Since 2.0.0
gchar * storaged_mdraid_dup_level (StoragedMDRaid *object);
Gets a copy of the "Level" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A StoragedMDRaid. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free(). [transfer full]
|
Since 2.0.0
gchar * storaged_mdraid_dup_name (StoragedMDRaid *object);
Gets a copy of the "Name" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A StoragedMDRaid. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free(). [transfer full]
|
Since 2.0.0
gchar * storaged_mdraid_dup_sync_action (StoragedMDRaid *object);
Gets a copy of the "SyncAction" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A StoragedMDRaid. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free(). [transfer full]
|
Since 2.0.0
gchar * storaged_mdraid_dup_uuid (StoragedMDRaid *object);
Gets a copy of the "UUID" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
|
A StoragedMDRaid. |
Returns : |
The property value or NULL if the property is not set. The returned value should be freed with g_free(). [transfer full]
|
Since 2.0.0
void storaged_mdraid_set_active_devices (StoragedMDRaid *object,GVariant *value);
Sets the "ActiveDevices" D-Bus property to value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
|
A StoragedMDRaid. |
|
The value to set. |
Since 2.0.0
void storaged_mdraid_set_bitmap_location (StoragedMDRaid *object,const gchar *value);
Sets the "BitmapLocation" D-Bus property to value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
|
A StoragedMDRaid. |
|
The value to set. |
Since 2.0.0
void storaged_mdraid_set_chunk_size (StoragedMDRaid *object,guint64 value);
Sets the "ChunkSize" D-Bus property to value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
|
A StoragedMDRaid. |
|
The value to set. |
Since 2.0.0
void storaged_mdraid_set_degraded (StoragedMDRaid *object,guint value);
Sets the "Degraded" D-Bus property to value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
|
A StoragedMDRaid. |
|
The value to set. |
Since 2.0.0
void storaged_mdraid_set_level (StoragedMDRaid *object,const gchar *value);
Sets the "Level" D-Bus property to value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
|
A StoragedMDRaid. |
|
The value to set. |
Since 2.0.0
void storaged_mdraid_set_name (StoragedMDRaid *object,const gchar *value);
Sets the "Name" D-Bus property to value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
|
A StoragedMDRaid. |
|
The value to set. |
Since 2.0.0
void storaged_mdraid_set_num_devices (StoragedMDRaid *object,guint value);
Sets the "NumDevices" D-Bus property to value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
|
A StoragedMDRaid. |
|
The value to set. |
Since 2.0.0
void storaged_mdraid_set_size (StoragedMDRaid *object,guint64 value);
Sets the "Size" D-Bus property to value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
|
A StoragedMDRaid. |
|
The value to set. |
Since 2.0.0
void storaged_mdraid_set_sync_action (StoragedMDRaid *object,const gchar *value);
Sets the "SyncAction" D-Bus property to value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
|
A StoragedMDRaid. |
|
The value to set. |
Since 2.0.0
void storaged_mdraid_set_sync_completed (StoragedMDRaid *object,gdouble value);
Sets the "SyncCompleted" D-Bus property to value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
|
A StoragedMDRaid. |
|
The value to set. |
Since 2.0.0
void storaged_mdraid_set_sync_rate (StoragedMDRaid *object,guint64 value);
Sets the "SyncRate" D-Bus property to value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
|
A StoragedMDRaid. |
|
The value to set. |
Since 2.0.0
void storaged_mdraid_set_sync_remaining_time (StoragedMDRaid *object,guint64 value);
Sets the "SyncRemainingTime" D-Bus property to value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
|
A StoragedMDRaid. |
|
The value to set. |
Since 2.0.0
void storaged_mdraid_set_uuid (StoragedMDRaid *object,const gchar *value);
Sets the "UUID" D-Bus property to value.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
|
A StoragedMDRaid. |
|
The value to set. |
Since 2.0.0
struct StoragedMDRaidProxy;
The StoragedMDRaidProxy structure contains only private data and should only be accessed using the provided API.
Since 2.0.0
struct StoragedMDRaidProxyClass {
GDBusProxyClass parent_class;
};
Class structure for StoragedMDRaidProxy.
Since 2.0.0
void storaged_mdraid_proxy_new (GDBusConnection *connection,GDBusProxyFlags flags,const gchar *name,const gchar *object_path,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Asynchronously creates a proxy for the D-Bus interface org.storaged.Storaged.MDRaid. See g_dbus_proxy_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.
You can then call storaged_mdraid_proxy_new_finish() to get the result of the operation.
See storaged_mdraid_proxy_new_sync() for the synchronous, blocking version of this constructor.
|
A GDBusConnection. |
|
Flags from the GDBusProxyFlags enumeration. |
|
A bus name (well-known or unique) or NULL if connection is not a message bus connection. [allow-none]
|
|
An object path. |
|
A GCancellable or NULL. [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied. |
|
User data to pass to callback. |
Since 2.0.0
StoragedMDRaid * storaged_mdraid_proxy_new_finish (GAsyncResult *res,GError **error);
Finishes an operation started with storaged_mdraid_proxy_new().
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to storaged_mdraid_proxy_new(). |
|
Return location for error or NULL
|
Returns : |
The constructed proxy object or NULL if error is set. [transfer full][type StoragedMDRaidProxy]
|
Since 2.0.0
StoragedMDRaid * storaged_mdraid_proxy_new_sync (GDBusConnection *connection,GDBusProxyFlags flags,const gchar *name,const gchar *object_path,GCancellable *cancellable,GError **error);
Synchronously creates a proxy for the D-Bus interface org.storaged.Storaged.MDRaid. See g_dbus_proxy_new_sync() for more details.
The calling thread is blocked until a reply is received.
See storaged_mdraid_proxy_new() for the asynchronous version of this constructor.
|
A GDBusConnection. |
|
Flags from the GDBusProxyFlags enumeration. |
|
A bus name (well-known or unique) or NULL if connection is not a message bus connection. [allow-none]
|
|
An object path. |
|
A GCancellable or NULL. [allow-none]
|
|
Return location for error or NULL
|
Returns : |
The constructed proxy object or NULL if error is set. [transfer full][type StoragedMDRaidProxy]
|
Since 2.0.0
void storaged_mdraid_proxy_new_for_bus (GBusType bus_type,GDBusProxyFlags flags,const gchar *name,const gchar *object_path,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data);
Like storaged_mdraid_proxy_new() but takes a GBusType instead of a GDBusConnection.
When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call storaged_mdraid_proxy_new_for_bus_finish() to get the result of the operation.
See storaged_mdraid_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
|
A GBusType. |
|
Flags from the GDBusProxyFlags enumeration. |
|
A bus name (well-known or unique). |
|
An object path. |
|
A GCancellable or NULL. [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied. |
|
User data to pass to callback. |
Since 2.0.0
StoragedMDRaid * storaged_mdraid_proxy_new_for_bus_finish (GAsyncResult *res,GError **error);
Finishes an operation started with storaged_mdraid_proxy_new_for_bus().
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to storaged_mdraid_proxy_new_for_bus(). |
|
Return location for error or NULL
|
Returns : |
The constructed proxy object or NULL if error is set. [transfer full][type StoragedMDRaidProxy]
|
Since 2.0.0
StoragedMDRaid * storaged_mdraid_proxy_new_for_bus_sync (GBusType bus_type,GDBusProxyFlags flags,const gchar *name,const gchar *object_path,GCancellable *cancellable,GError **error);
Like storaged_mdraid_proxy_new_sync() but takes a GBusType instead of a GDBusConnection.
The calling thread is blocked until a reply is received.
See storaged_mdraid_proxy_new_for_bus() for the asynchronous version of this constructor.
|
A GBusType. |
|
Flags from the GDBusProxyFlags enumeration. |
|
A bus name (well-known or unique). |
|
An object path. |
|
A GCancellable or NULL. [allow-none]
|
|
Return location for error or NULL
|
Returns : |
The constructed proxy object or NULL if error is set. [transfer full][type StoragedMDRaidProxy]
|
Since 2.0.0
struct StoragedMDRaidSkeleton;
The StoragedMDRaidSkeleton structure contains only private data and should only be accessed using the provided API.
Since 2.0.0
struct StoragedMDRaidSkeletonClass {
GDBusInterfaceSkeletonClass parent_class;
};
Class structure for StoragedMDRaidSkeleton.
Since 2.0.0
StoragedMDRaid * storaged_mdraid_skeleton_new (void);
Creates a skeleton object for the D-Bus interface org.storaged.Storaged.MDRaid.
Returns : |
The skeleton object. [transfer full][type StoragedMDRaidSkeleton] |
Since 2.0.0
"active-devices" property "active-devices" GVariant* : Read / Write
Represents the D-Bus property "ActiveDevices".
Since the D-Bus property for this GObject 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.
Allowed values: GVariant<a(oiasta{sv})>
Default value: NULL
Since 2.0.0
"bitmap-location" property "bitmap-location" gchar* : Read / Write
Represents the D-Bus property "BitmapLocation".
Since the D-Bus property for this GObject 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.
Default value: NULL
Since 2.0.0
"child-configuration" property "child-configuration" GVariant* : Read / Write
Represents the D-Bus property "ChildConfiguration".
Since the D-Bus property for this GObject 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.
Allowed values: GVariant<a(sa{sv})>
Default value: NULL
Since 2.0.0
"chunk-size" property "chunk-size" guint64 : Read / Write
Represents the D-Bus property "ChunkSize".
Since the D-Bus property for this GObject 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.
Default value: 0
Since 2.0.0
"degraded" property "degraded" guint : Read / Write
Represents the D-Bus property "Degraded".
Since the D-Bus property for this GObject 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.
Default value: 0
Since 2.0.0
"level" property "level" gchar* : Read / Write
Represents the D-Bus property "Level".
Since the D-Bus property for this GObject 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.
Default value: NULL
Since 2.0.0
"name" property "name" gchar* : Read / Write
Represents the D-Bus property "Name".
Since the D-Bus property for this GObject 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.
Default value: NULL
Since 2.0.0
"num-devices" property "num-devices" guint : Read / Write
Represents the D-Bus property "NumDevices".
Since the D-Bus property for this GObject 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.
Default value: 0
Since 2.0.0
"running" property "running" gboolean : Read / Write
Represents the D-Bus property "Running".
Since the D-Bus property for this GObject 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.
Default value: FALSE
Since 2.0.0
"size" property "size" guint64 : Read / Write
Represents the D-Bus property "Size".
Since the D-Bus property for this GObject 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.
Default value: 0
Since 2.0.0
"sync-action" property "sync-action" gchar* : Read / Write
Represents the D-Bus property "SyncAction".
Since the D-Bus property for this GObject 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.
Default value: NULL
Since 2.0.0
"sync-completed" property "sync-completed" gdouble : Read / Write
Represents the D-Bus property "SyncCompleted".
Since the D-Bus property for this GObject 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.
Default value: 0
Since 2.0.0
"sync-rate" property "sync-rate" guint64 : Read / Write
Represents the D-Bus property "SyncRate".
Since the D-Bus property for this GObject 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.
Default value: 0
Since 2.0.0
"sync-remaining-time" property "sync-remaining-time" guint64 : Read / Write
Represents the D-Bus property "SyncRemainingTime".
Since the D-Bus property for this GObject 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.
Default value: 0
Since 2.0.0
"uuid" property "uuid" gchar* : Read / Write
Represents the D-Bus property "UUID".
Since the D-Bus property for this GObject 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.
Default value: NULL
Since 2.0.0
"handle-add-device" signalgboolean user_function (StoragedMDRaid *object,
GDBusMethodInvocation *invocation,
gchar *arg_device,
GVariant *arg_options,
gpointer user_data) : Run Last
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 call storaged_mdraid_complete_add_device() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
|
A StoragedMDRaid. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
Since 2.0.0
"handle-delete" signalgboolean user_function (StoragedMDRaid *object,
GDBusMethodInvocation *invocation,
GVariant *arg_options,
gpointer user_data) : Run Last
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 call storaged_mdraid_complete_delete() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
|
A StoragedMDRaid. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
Since 2.0.0
"handle-remove-device" signalgboolean user_function (StoragedMDRaid *object,
GDBusMethodInvocation *invocation,
gchar *arg_device,
GVariant *arg_options,
gpointer user_data) : Run Last
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 call storaged_mdraid_complete_remove_device() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
|
A StoragedMDRaid. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
Since 2.0.0
"handle-request-sync-action" signalgboolean user_function (StoragedMDRaid *object,
GDBusMethodInvocation *invocation,
gchar *arg_sync_action,
GVariant *arg_options,
gpointer user_data) : Run Last
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 call storaged_mdraid_complete_request_sync_action() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
|
A StoragedMDRaid. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
Since 2.0.0
"handle-set-bitmap-location" signalgboolean user_function (StoragedMDRaid *object,
GDBusMethodInvocation *invocation,
gchar *arg_value,
GVariant *arg_options,
gpointer user_data) : Run Last
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 call storaged_mdraid_complete_set_bitmap_location() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
|
A StoragedMDRaid. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
Since 2.0.0
"handle-start" signalgboolean user_function (StoragedMDRaid *object,
GDBusMethodInvocation *invocation,
GVariant *arg_options,
gpointer user_data) : Run Last
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 call storaged_mdraid_complete_start() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
|
A StoragedMDRaid. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
Since 2.0.0
"handle-stop" signalgboolean user_function (StoragedMDRaid *object,
GDBusMethodInvocation *invocation,
GVariant *arg_options,
gpointer user_data) : Run Last
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 call storaged_mdraid_complete_stop() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
|
A StoragedMDRaid. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
Since 2.0.0