Manager.sync


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "1.0" ) ]
public Manager.sync (DBusConnection connection, DBusObjectManagerClientFlags flags, Cancellable? cancellable = null) throws Error

Synchronously creates a Manager.

The calling thread is blocked until a reply is received.

See Manager for the asynchronous version of this constructor.

Parameters:

connection

A DBusConnection.

flags

Flags from the DBusObjectManagerClientFlags enumeration.

cancellable

A Cancellable or null.

Returns:

The constructed object manager client or null if error is set.




2022 vala-language.org