connect_interface_async


Description:

public async bool connect_interface_async (string plug_snap, string plug_name, string slot_snap, string slot_name, ProgressCallback? progress_callback, Cancellable? cancellable) throws Error

Asynchronously connect two interfaces together.

See connect_interface_sync for more information.

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.

callback

a TaskReadyCallback to call when the request is satisfied.

progress_callback_data

user data to pass to progress_callback.

user_data

the data to pass to callback function.