[ CCode ( has_construct_function = false ) ]
public DebugControllerDBus (DBusConnection connection, Cancellable? cancellable = null) throws Error
Create a new DebugControllerDBus and synchronously initialize it.
Initializing the object will export the debug object on connection
. The object will remain registered until the last
reference to the DebugControllerDBus is dropped.
Initialization may fail if registering the object on connection
fails.
connection |
a DBusConnection to register the debug object on |
cancellable |
a Cancellable, or null |
a new DebugControllerDBus, or null on failure |