Job
Object Hierarchy:
Description:
Abstract interface type for the D-Bus interface org.freedesktop.UDisks2.Job.
All known implementing classes:
Namespace: UDisks
Package: udisks2
Content:
Properties:
- public abstract uint64 bytes { get; set; }
Represents the D-Bus property "Bytes".
- public abstract bool cancelable { get; set; }
Represents the D-Bus property "Cancelable".
- public abstract uint64 expected_end_time { get; set; }
Represents the D-Bus property "ExpectedEndTime".
- public abstract string[] objects { owned get; set; }
Represents the D-Bus property "Objects".
- public abstract string operation { owned get; set; }
Represents the D-Bus property "Operation".
- public abstract double progress { get; set; }
Represents the D-Bus property "Progress".
- public abstract bool progress_valid { get; set; }
Represents the D-Bus property "ProgressValid".
- public abstract uint64 rate { get; set; }
Represents the D-Bus property "Rate".
- public abstract uint64 start_time { get; set; }
Represents the D-Bus property "StartTime".
- public abstract uint started_by_uid { get; set; }
Represents the D-Bus property "StartedByUID".
Static methods:
- public static unowned DBusInterfaceInfo interface_info ()
Gets a machine-readable description of the org.freedesktop.UDisks2.Job D-Bus interface.
- public static uint override_properties (ObjectClass klass, uint property_id_begin)
Overrides all Object properties in the Job interface for a concrete class.
Methods:
- public async bool call_cancel (Variant arg_options, Cancellable? cancellable) throws Error
Asynchronously invokes the Cancel D-Bus method on this.
- public bool call_cancel_sync (Variant arg_options, Cancellable? cancellable = null) throws Error
Synchronously invokes the Cancel D-Bus method on this.
- public void complete_cancel (owned DBusMethodInvocation invocation)
Helper function used in service implementations to finish handling invocations of the Cancel D-Bus method.
- public void emit_completed (bool arg_success, string arg_message)
Emits the "Completed" D-Bus signal.
Signals:
- public virtual signal void completed (bool arg_success, string arg_message)
On the client-side, this signal is emitted whenever the D-Bus signal "Completed" is received.
- public virtual signal bool handle_cancel (DBusMethodInvocation invocation, Variant arg_options)
Signal emitted when a remote caller is invoking the Cancel D-Bus method.
Inherited Members:
All known members inherited from class GLib.Object