connect_interface_sync


Description:

public bool connect_interface_sync (string plug_snap, string plug_name, string slot_snap, string slot_name, ProgressCallback? progress_callback, Cancellable? cancellable = null) throws Error

Connect two interfaces together.

An asynchronous version of this function is connect_interface_async .

Parameters:

this

a Client.

plug_snap

name of snap containing plug.

plug_name

name of plug to connect.

slot_snap

name of snap containing socket.

slot_name

name of slot to connect.

progress_callback

function to callback with progress.

cancellable

a Cancellable or null.

progress_callback_data

user data to pass to progress_callback.

Returns:

true on success or false on error.




2022 vala-language.org