| UDisks Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Prerequisites | Known Implementations | Properties | Signals | ||||
UDisksMDRaid; struct UDisksMDRaidIface; GDBusInterfaceInfo * udisks_mdraid_interface_info (void); guint udisks_mdraid_override_properties (GObjectClass *klass,guint property_id_begin); void udisks_mdraid_call_remove_device (UDisksMDRaid *proxy,const gchar *arg_device,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); gboolean udisks_mdraid_call_remove_device_finish (UDisksMDRaid *proxy,GAsyncResult *res,GError **error); gboolean udisks_mdraid_call_remove_device_sync (UDisksMDRaid *proxy,const gchar *arg_device,GVariant *arg_options,GCancellable *cancellable,GError **error); void udisks_mdraid_complete_remove_device (UDisksMDRaid *object,GDBusMethodInvocation *invocation); void udisks_mdraid_call_add_device (UDisksMDRaid *proxy,const gchar *arg_device,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); gboolean udisks_mdraid_call_add_device_finish (UDisksMDRaid *proxy,GAsyncResult *res,GError **error); gboolean udisks_mdraid_call_add_device_sync (UDisksMDRaid *proxy,const gchar *arg_device,GVariant *arg_options,GCancellable *cancellable,GError **error); void udisks_mdraid_complete_add_device (UDisksMDRaid *object,GDBusMethodInvocation *invocation); void udisks_mdraid_call_start (UDisksMDRaid *proxy,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); gboolean udisks_mdraid_call_start_finish (UDisksMDRaid *proxy,GAsyncResult *res,GError **error); gboolean udisks_mdraid_call_start_sync (UDisksMDRaid *proxy,GVariant *arg_options,GCancellable *cancellable,GError **error); void udisks_mdraid_complete_start (UDisksMDRaid *object,GDBusMethodInvocation *invocation); void udisks_mdraid_call_stop (UDisksMDRaid *proxy,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); gboolean udisks_mdraid_call_stop_finish (UDisksMDRaid *proxy,GAsyncResult *res,GError **error); gboolean udisks_mdraid_call_stop_sync (UDisksMDRaid *proxy,GVariant *arg_options,GCancellable *cancellable,GError **error); void udisks_mdraid_complete_stop (UDisksMDRaid *object,GDBusMethodInvocation *invocation); void udisks_mdraid_call_set_bitmap_location (UDisksMDRaid *proxy,const gchar *arg_value,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); gboolean udisks_mdraid_call_set_bitmap_location_finish (UDisksMDRaid *proxy,GAsyncResult *res,GError **error); gboolean udisks_mdraid_call_set_bitmap_location_sync (UDisksMDRaid *proxy,const gchar *arg_value,GVariant *arg_options,GCancellable *cancellable,GError **error); void udisks_mdraid_complete_set_bitmap_location (UDisksMDRaid *object,GDBusMethodInvocation *invocation); void udisks_mdraid_call_request_sync_action (UDisksMDRaid *proxy,const gchar *arg_sync_action,GVariant *arg_options,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); gboolean udisks_mdraid_call_request_sync_action_finish (UDisksMDRaid *proxy,GAsyncResult *res,GError **error); gboolean udisks_mdraid_call_request_sync_action_sync (UDisksMDRaid *proxy,const gchar *arg_sync_action,GVariant *arg_options,GCancellable *cancellable,GError **error); void udisks_mdraid_complete_request_sync_action (UDisksMDRaid *object,GDBusMethodInvocation *invocation); GVariant * udisks_mdraid_get_active_devices (UDisksMDRaid *object); const gchar * udisks_mdraid_get_bitmap_location (UDisksMDRaid *object); guint64 udisks_mdraid_get_chunk_size (UDisksMDRaid *object); guint udisks_mdraid_get_degraded (UDisksMDRaid *object); const gchar * udisks_mdraid_get_level (UDisksMDRaid *object); const gchar * udisks_mdraid_get_name (UDisksMDRaid *object); guint udisks_mdraid_get_num_devices (UDisksMDRaid *object); guint64 udisks_mdraid_get_size (UDisksMDRaid *object); const gchar * udisks_mdraid_get_sync_action (UDisksMDRaid *object); gdouble udisks_mdraid_get_sync_completed (UDisksMDRaid *object); guint64 udisks_mdraid_get_sync_rate (UDisksMDRaid *object); guint64 udisks_mdraid_get_sync_remaining_time (UDisksMDRaid *object); const gchar * udisks_mdraid_get_uuid (UDisksMDRaid *object); GVariant * udisks_mdraid_dup_active_devices (UDisksMDRaid *object); gchar * udisks_mdraid_dup_bitmap_location (UDisksMDRaid *object); gchar * udisks_mdraid_dup_level (UDisksMDRaid *object); gchar * udisks_mdraid_dup_name (UDisksMDRaid *object); gchar * udisks_mdraid_dup_sync_action (UDisksMDRaid *object); gchar * udisks_mdraid_dup_uuid (UDisksMDRaid *object); void udisks_mdraid_set_active_devices (UDisksMDRaid *object,GVariant *value); void udisks_mdraid_set_bitmap_location (UDisksMDRaid *object,const gchar *value); void udisks_mdraid_set_chunk_size (UDisksMDRaid *object,guint64 value); void udisks_mdraid_set_degraded (UDisksMDRaid *object,guint value); void udisks_mdraid_set_level (UDisksMDRaid *object,const gchar *value); void udisks_mdraid_set_name (UDisksMDRaid *object,const gchar *value); void udisks_mdraid_set_num_devices (UDisksMDRaid *object,guint value); void udisks_mdraid_set_size (UDisksMDRaid *object,guint64 value); void udisks_mdraid_set_sync_action (UDisksMDRaid *object,const gchar *value); void udisks_mdraid_set_sync_completed (UDisksMDRaid *object,gdouble value); void udisks_mdraid_set_sync_rate (UDisksMDRaid *object,guint64 value); void udisks_mdraid_set_sync_remaining_time (UDisksMDRaid *object,guint64 value); void udisks_mdraid_set_uuid (UDisksMDRaid *object,const gchar *value); struct UDisksMDRaidProxy; struct UDisksMDRaidProxyClass; void udisks_mdraid_proxy_new (GDBusConnection *connection,GDBusProxyFlags flags,const gchar *name,const gchar *object_path,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); UDisksMDRaid * udisks_mdraid_proxy_new_finish (GAsyncResult *res,GError **error); UDisksMDRaid * udisks_mdraid_proxy_new_sync (GDBusConnection *connection,GDBusProxyFlags flags,const gchar *name,const gchar *object_path,GCancellable *cancellable,GError **error); void udisks_mdraid_proxy_new_for_bus (GBusType bus_type,GDBusProxyFlags flags,const gchar *name,const gchar *object_path,GCancellable *cancellable,GAsyncReadyCallback callback,gpointer user_data); UDisksMDRaid * udisks_mdraid_proxy_new_for_bus_finish (GAsyncResult *res,GError **error); UDisksMDRaid * udisks_mdraid_proxy_new_for_bus_sync (GBusType bus_type,GDBusProxyFlags flags,const gchar *name,const gchar *object_path,GCancellable *cancellable,GError **error); struct UDisksMDRaidSkeleton; struct UDisksMDRaidSkeletonClass; UDisksMDRaid * udisks_mdraid_skeleton_new (void);
GInterface +----UDisksMDRaid
GObject
+----GDBusProxy
+----UDisksMDRaidProxy
GObject
+----GDBusInterfaceSkeleton
+----UDisksMDRaidSkeleton
+----UDisksLinuxMDRaid
UDisksMDRaidProxy implements GDBusInterface, GInitable, GAsyncInitable and UDisksMDRaid.
UDisksMDRaidSkeleton implements GDBusInterface and UDisksMDRaid.
UDisksMDRaid is implemented by UDisksLinuxMDRaid, UDisksMDRaidProxy and UDisksMDRaidSkeleton.
"active-devices" GVariant* : Read / Write "bitmap-location" gchar* : Read / Write "chunk-size" guint64 : Read / Write "degraded" guint : Read / Write "level" gchar* : Read / Write "name" gchar* : Read / Write "num-devices" guint : 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-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.freedesktop.UDisks2.MDRaid D-Bus interface in C.
typedef struct _UDisksMDRaid UDisksMDRaid;
Abstract interface type for the D-Bus interface org.freedesktop.UDisks2.MDRaid.
Since 2.1
struct UDisksMDRaidIface {
GTypeInterface parent_iface;
gboolean (*handle_add_device) (
UDisksMDRaid *object,
GDBusMethodInvocation *invocation,
const gchar *arg_device,
GVariant *arg_options);
gboolean (*handle_remove_device) (
UDisksMDRaid *object,
GDBusMethodInvocation *invocation,
const gchar *arg_device,
GVariant *arg_options);
gboolean (*handle_request_sync_action) (
UDisksMDRaid *object,
GDBusMethodInvocation *invocation,
const gchar *arg_sync_action,
GVariant *arg_options);
gboolean (*handle_set_bitmap_location) (
UDisksMDRaid *object,
GDBusMethodInvocation *invocation,
const gchar *arg_value,
GVariant *arg_options);
gboolean (*handle_start) (
UDisksMDRaid *object,
GDBusMethodInvocation *invocation,
GVariant *arg_options);
gboolean (*handle_stop) (
UDisksMDRaid *object,
GDBusMethodInvocation *invocation,
GVariant *arg_options);
GVariant * (*get_active_devices) (UDisksMDRaid *object);
const gchar * (*get_bitmap_location) (UDisksMDRaid *object);
guint64 (*get_chunk_size) (UDisksMDRaid *object);
guint (*get_degraded) (UDisksMDRaid *object);
const gchar * (*get_level) (UDisksMDRaid *object);
const gchar * (*get_name) (UDisksMDRaid *object);
guint (*get_num_devices) (UDisksMDRaid *object);
guint64 (*get_size) (UDisksMDRaid *object);
const gchar * (*get_sync_action) (UDisksMDRaid *object);
gdouble (*get_sync_completed) (UDisksMDRaid *object);
guint64 (*get_sync_rate) (UDisksMDRaid *object);
guint64 (*get_sync_remaining_time) (UDisksMDRaid *object);
const gchar * (*get_uuid) (UDisksMDRaid *object);
};
Virtual table for the D-Bus interface org.freedesktop.UDisks2.MDRaid.
| The parent interface. | |
| Handler for the "handle-add-device" 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 "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 "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.1
GDBusInterfaceInfo * udisks_mdraid_interface_info (void);
Gets a machine-readable description of the org.freedesktop.UDisks2.MDRaid D-Bus interface.
Returns : |
A GDBusInterfaceInfo. Do not free. [transfer none] |
Since 2.1
guint udisks_mdraid_override_properties (GObjectClass *klass,guint property_id_begin);
Overrides all GObject properties in the UDisksMDRaid 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.1
void udisks_mdraid_call_remove_device (UDisksMDRaid *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 udisks_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.
|
A UDisksMDRaidProxy. |
|
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.1
gboolean udisks_mdraid_call_remove_device_finish (UDisksMDRaid *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with udisks_mdraid_call_remove_device().
|
A UDisksMDRaidProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to udisks_mdraid_call_remove_device(). |
|
Return location for error or NULL. |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
Since 2.1
gboolean udisks_mdraid_call_remove_device_sync (UDisksMDRaid *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 udisks_mdraid_call_remove_device() for the asynchronous version of this method.
|
A UDisksMDRaidProxy. |
|
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.1
void udisks_mdraid_complete_remove_device (UDisksMDRaid *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 UDisksMDRaid. |
|
A GDBusMethodInvocation. [transfer full] |
Since 2.1
void udisks_mdraid_call_add_device (UDisksMDRaid *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 udisks_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.
|
A UDisksMDRaidProxy. |
|
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.1
gboolean udisks_mdraid_call_add_device_finish (UDisksMDRaid *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with udisks_mdraid_call_add_device().
|
A UDisksMDRaidProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to udisks_mdraid_call_add_device(). |
|
Return location for error or NULL. |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
Since 2.1
gboolean udisks_mdraid_call_add_device_sync (UDisksMDRaid *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 udisks_mdraid_call_add_device() for the asynchronous version of this method.
|
A UDisksMDRaidProxy. |
|
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.1
void udisks_mdraid_complete_add_device (UDisksMDRaid *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 UDisksMDRaid. |
|
A GDBusMethodInvocation. [transfer full] |
Since 2.1
void udisks_mdraid_call_start (UDisksMDRaid *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 udisks_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.
|
A UDisksMDRaidProxy. |
|
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.1
gboolean udisks_mdraid_call_start_finish (UDisksMDRaid *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with udisks_mdraid_call_start().
|
A UDisksMDRaidProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to udisks_mdraid_call_start(). |
|
Return location for error or NULL. |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
Since 2.1
gboolean udisks_mdraid_call_start_sync (UDisksMDRaid *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 udisks_mdraid_call_start() for the asynchronous version of this method.
|
A UDisksMDRaidProxy. |
|
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.1
void udisks_mdraid_complete_start (UDisksMDRaid *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 UDisksMDRaid. |
|
A GDBusMethodInvocation. [transfer full] |
Since 2.1
void udisks_mdraid_call_stop (UDisksMDRaid *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 udisks_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.
|
A UDisksMDRaidProxy. |
|
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.1
gboolean udisks_mdraid_call_stop_finish (UDisksMDRaid *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with udisks_mdraid_call_stop().
|
A UDisksMDRaidProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to udisks_mdraid_call_stop(). |
|
Return location for error or NULL. |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
Since 2.1
gboolean udisks_mdraid_call_stop_sync (UDisksMDRaid *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 udisks_mdraid_call_stop() for the asynchronous version of this method.
|
A UDisksMDRaidProxy. |
|
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.1
void udisks_mdraid_complete_stop (UDisksMDRaid *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 UDisksMDRaid. |
|
A GDBusMethodInvocation. [transfer full] |
Since 2.1
void udisks_mdraid_call_set_bitmap_location (UDisksMDRaid *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 udisks_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.
|
A UDisksMDRaidProxy. |
|
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.1
gboolean udisks_mdraid_call_set_bitmap_location_finish (UDisksMDRaid *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with udisks_mdraid_call_set_bitmap_location().
|
A UDisksMDRaidProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to udisks_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.1
gboolean udisks_mdraid_call_set_bitmap_location_sync (UDisksMDRaid *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 udisks_mdraid_call_set_bitmap_location() for the asynchronous version of this method.
|
A UDisksMDRaidProxy. |
|
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.1
void udisks_mdraid_complete_set_bitmap_location (UDisksMDRaid *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 UDisksMDRaid. |
|
A GDBusMethodInvocation. [transfer full] |
Since 2.1
void udisks_mdraid_call_request_sync_action (UDisksMDRaid *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 udisks_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.
|
A UDisksMDRaidProxy. |
|
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.1
gboolean udisks_mdraid_call_request_sync_action_finish (UDisksMDRaid *proxy,GAsyncResult *res,GError **error);
Finishes an operation started with udisks_mdraid_call_request_sync_action().
|
A UDisksMDRaidProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to udisks_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.1
gboolean udisks_mdraid_call_request_sync_action_sync (UDisksMDRaid *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 udisks_mdraid_call_request_sync_action() for the asynchronous version of this method.
|
A UDisksMDRaidProxy. |
|
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.1
void udisks_mdraid_complete_request_sync_action (UDisksMDRaid *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 UDisksMDRaid. |
|
A GDBusMethodInvocation. [transfer full] |
Since 2.1
GVariant * udisks_mdraid_get_active_devices (UDisksMDRaid *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 udisks_mdraid_dup_active_devices() if on another thread.
|
A UDisksMDRaid. |
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.1
const gchar * udisks_mdraid_get_bitmap_location (UDisksMDRaid *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 udisks_mdraid_dup_bitmap_location() if on another thread.
|
A UDisksMDRaid. |
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.1
guint64 udisks_mdraid_get_chunk_size (UDisksMDRaid *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 UDisksMDRaid. |
Returns : |
The property value. |
Since 2.1
guint udisks_mdraid_get_degraded (UDisksMDRaid *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 UDisksMDRaid. |
Returns : |
The property value. |
Since 2.1
const gchar * udisks_mdraid_get_level (UDisksMDRaid *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 udisks_mdraid_dup_level() if on another thread.
|
A UDisksMDRaid. |
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.1
const gchar * udisks_mdraid_get_name (UDisksMDRaid *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 udisks_mdraid_dup_name() if on another thread.
|
A UDisksMDRaid. |
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.1
guint udisks_mdraid_get_num_devices (UDisksMDRaid *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 UDisksMDRaid. |
Returns : |
The property value. |
Since 2.1
guint64 udisks_mdraid_get_size (UDisksMDRaid *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 UDisksMDRaid. |
Returns : |
The property value. |
Since 2.1
const gchar * udisks_mdraid_get_sync_action (UDisksMDRaid *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 udisks_mdraid_dup_sync_action() if on another thread.
|
A UDisksMDRaid. |
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.1
gdouble udisks_mdraid_get_sync_completed (UDisksMDRaid *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 UDisksMDRaid. |
Returns : |
The property value. |
Since 2.1
guint64 udisks_mdraid_get_sync_rate (UDisksMDRaid *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 UDisksMDRaid. |
Returns : |
The property value. |
Since 2.1
guint64 udisks_mdraid_get_sync_remaining_time
(UDisksMDRaid *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 UDisksMDRaid. |
Returns : |
The property value. |
Since 2.1
const gchar * udisks_mdraid_get_uuid (UDisksMDRaid *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 udisks_mdraid_dup_uuid() if on another thread.
|
A UDisksMDRaid. |
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.1
GVariant * udisks_mdraid_dup_active_devices (UDisksMDRaid *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 UDisksMDRaid. |
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.1
gchar * udisks_mdraid_dup_bitmap_location (UDisksMDRaid *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 UDisksMDRaid. |
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.1
gchar * udisks_mdraid_dup_level (UDisksMDRaid *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 UDisksMDRaid. |
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.1
gchar * udisks_mdraid_dup_name (UDisksMDRaid *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 UDisksMDRaid. |
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.1
gchar * udisks_mdraid_dup_sync_action (UDisksMDRaid *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 UDisksMDRaid. |
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.1
gchar * udisks_mdraid_dup_uuid (UDisksMDRaid *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 UDisksMDRaid. |
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.1
void udisks_mdraid_set_active_devices (UDisksMDRaid *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 UDisksMDRaid. |
|
The value to set. |
Since 2.1
void udisks_mdraid_set_bitmap_location (UDisksMDRaid *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 UDisksMDRaid. |
|
The value to set. |
Since 2.1
void udisks_mdraid_set_chunk_size (UDisksMDRaid *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 UDisksMDRaid. |
|
The value to set. |
Since 2.1
void udisks_mdraid_set_degraded (UDisksMDRaid *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 UDisksMDRaid. |
|
The value to set. |
Since 2.1
void udisks_mdraid_set_level (UDisksMDRaid *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 UDisksMDRaid. |
|
The value to set. |
Since 2.1
void udisks_mdraid_set_name (UDisksMDRaid *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 UDisksMDRaid. |
|
The value to set. |
Since 2.1
void udisks_mdraid_set_num_devices (UDisksMDRaid *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 UDisksMDRaid. |
|
The value to set. |
Since 2.1
void udisks_mdraid_set_size (UDisksMDRaid *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 UDisksMDRaid. |
|
The value to set. |
Since 2.1
void udisks_mdraid_set_sync_action (UDisksMDRaid *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 UDisksMDRaid. |
|
The value to set. |
Since 2.1
void udisks_mdraid_set_sync_completed (UDisksMDRaid *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 UDisksMDRaid. |
|
The value to set. |
Since 2.1
void udisks_mdraid_set_sync_rate (UDisksMDRaid *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 UDisksMDRaid. |
|
The value to set. |
Since 2.1
void udisks_mdraid_set_sync_remaining_time (UDisksMDRaid *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 UDisksMDRaid. |
|
The value to set. |
Since 2.1
void udisks_mdraid_set_uuid (UDisksMDRaid *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 UDisksMDRaid. |
|
The value to set. |
Since 2.1
struct UDisksMDRaidProxy;
The UDisksMDRaidProxy structure contains only private data and should only be accessed using the provided API.
Since 2.1
struct UDisksMDRaidProxyClass {
GDBusProxyClass parent_class;
};
Class structure for UDisksMDRaidProxy.
Since 2.1
void udisks_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.freedesktop.UDisks2.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 udisks_mdraid_proxy_new_finish() to get the result of the operation.
See udisks_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.1
UDisksMDRaid * udisks_mdraid_proxy_new_finish (GAsyncResult *res,GError **error);
Finishes an operation started with udisks_mdraid_proxy_new().
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to udisks_mdraid_proxy_new(). |
|
Return location for error or NULL
|
Returns : |
The constructed proxy object or NULL if error is set. [transfer full][type UDisksMDRaidProxy]
|
Since 2.1
UDisksMDRaid * udisks_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.freedesktop.UDisks2.MDRaid. See g_dbus_proxy_new_sync() for more details.
The calling thread is blocked until a reply is received.
See udisks_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 UDisksMDRaidProxy]
|
Since 2.1
void udisks_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 udisks_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 udisks_mdraid_proxy_new_for_bus_finish() to get the result of the operation.
See udisks_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.1
UDisksMDRaid * udisks_mdraid_proxy_new_for_bus_finish (GAsyncResult *res,GError **error);
Finishes an operation started with udisks_mdraid_proxy_new_for_bus().
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to udisks_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 UDisksMDRaidProxy]
|
Since 2.1
UDisksMDRaid * udisks_mdraid_proxy_new_for_bus_sync (GBusType bus_type,GDBusProxyFlags flags,const gchar *name,const gchar *object_path,GCancellable *cancellable,GError **error);
Like udisks_mdraid_proxy_new_sync() but takes a GBusType instead of a GDBusConnection.
The calling thread is blocked until a reply is received.
See udisks_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 UDisksMDRaidProxy]
|
Since 2.1
struct UDisksMDRaidSkeleton;
The UDisksMDRaidSkeleton structure contains only private data and should only be accessed using the provided API.
Since 2.1
struct UDisksMDRaidSkeletonClass {
GDBusInterfaceSkeletonClass parent_class;
};
Class structure for UDisksMDRaidSkeleton.
Since 2.1
UDisksMDRaid * udisks_mdraid_skeleton_new (void);
Creates a skeleton object for the D-Bus interface org.freedesktop.UDisks2.MDRaid.
Returns : |
The skeleton object. [transfer full][type UDisksMDRaidSkeleton] |
Since 2.1
"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.1
"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.1
"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.1
"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.1
"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.1
"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.1
"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.1
"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.1
"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.1
"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.1
"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.1
"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.1
"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.1
"handle-add-device" signalgboolean user_function (UDisksMDRaid *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 udisks_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 UDisksMDRaid. |
|
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.1
"handle-remove-device" signalgboolean user_function (UDisksMDRaid *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 udisks_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 UDisksMDRaid. |
|
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.1
"handle-request-sync-action" signalgboolean user_function (UDisksMDRaid *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 udisks_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 UDisksMDRaid. |
|
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.1
"handle-set-bitmap-location" signalgboolean user_function (UDisksMDRaid *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 udisks_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 UDisksMDRaid. |
|
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.1
"handle-start" signalgboolean user_function (UDisksMDRaid *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 udisks_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 UDisksMDRaid. |
|
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.1
"handle-stop" signalgboolean user_function (UDisksMDRaid *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 udisks_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 UDisksMDRaid. |
|
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.1