- public void cancel_all ()
Cancels all pending operations started on
this.
- public bool check_capability (string capability)
Check if backend supports particular capability.
- public bool check_refresh_supported ()
Checks whether a client supports explicit refreshing (see
refresh).
- public string dup_bus_name ()
Returns a D-Bus bus name that will be used to connect the client to
the backend subprocess.
- public virtual async bool get_backend_property (string prop_name, Cancellable? cancellable, out string prop_value) throws Error
Queries this's backend for a
property of name prop_name.
- public virtual bool get_backend_property_sync (string prop_name, out string prop_value, Cancellable? cancellable = null) throws Error
Queries this's backend for a
property of name prop_name.
- public unowned SList<string> get_capabilities ()
Get list of strings with capabilities advertised by a backend.
- public unowned Source get_source ()
Get the Source that this
client has assigned.
- public bool is_online ()
Check if this this is connected.
- public bool is_opened ()
Check if this this is fully opened.
- public bool is_readonly ()
Check if this this is read-only.
- public virtual async bool open (bool only_if_exists, Cancellable? cancellable) throws Error
Opens the this, making it ready for
queries and other operations.
- public virtual bool open_sync (bool only_if_exists, Cancellable? cancellable = null) throws Error
Opens the this, making it ready for
queries and other operations.
- public MainContext ref_main_context ()
Returns the
MainContext on which event sources for this are to be attached.
- public virtual async bool refresh (Cancellable? cancellable) throws Error
Initiates refresh on the this.
- public virtual bool refresh_sync (Cancellable? cancellable = null) throws Error
Initiates refresh on the this.
- public virtual async bool remove (Cancellable? cancellable) throws Error
Removes the backing data for this Client
.
- public virtual bool remove_sync (Cancellable? cancellable = null) throws Error
Removes the backing data for this Client
.
- public virtual async bool retrieve_capabilities (Cancellable? cancellable, out string capabilities) throws Error
Initiates retrieval of capabilities on the
this.
- public virtual bool retrieve_capabilities_sync (out string capabilities, Cancellable? cancellable = null) throws Error
Initiates retrieval of capabilities on the
this.
- public async bool retrieve_properties (Cancellable? cancellable) throws Error
Asynchronously retrieves this
properties to match server-side values, without waiting for the D-Bus property change notifications delivery.
- public virtual bool retrieve_properties_sync (Cancellable? cancellable = null) throws Error
Retrieves this properties to match
server-side values, without waiting for the D-Bus property change notifications delivery.
- public virtual async bool set_backend_property (string prop_name, string prop_value, Cancellable? cancellable) throws Error
Sets this's backend property of name
prop_name to value prop_value.
- public virtual bool set_backend_property_sync (string prop_name, string prop_value, Cancellable? cancellable = null) throws Error
Sets this's backend property of name
prop_name to value prop_value.
- public void set_bus_name (string bus_name)
Sets a D-Bus bus name that will be used to connect the client to the
backend subprocess.
- public virtual void unwrap_dbus_error (Error dbus_error) throws Error
Unwraps D-Bus error to local error.
- public async bool wait_for_connected (uint32 timeout_seconds, Cancellable? cancellable) throws Error
Asynchronously waits until the this
is connected (according to ESourceEClient::connection-statuss property), but not longer than
timeout_seconds.
- public bool wait_for_connected_sync (uint32 timeout_seconds, Cancellable? cancellable = null) throws Error
Synchronously waits until the this
is connected (according to ESourceEClient::connection-statuss property), but not longer than
timeout_seconds.