get_connections2_async


Description:

[ Version ( since = "1.49" ) ]
public async bool get_connections2_async (GetConnectionsFlags flags, string? snap, string? @interface, Cancellable? cancellable, out GenericArray<unowned Connection> established, out GenericArray<unowned Connection> undesired, out GenericArray<unowned Plug> plugs, out GenericArray<unowned Slot> slots) throws Error

Asynchronously get the installed snap connections.

See get_connections_sync for more information.

Parameters:

this

a Client.

flags

a set of GetConnectionsFlags to control what results are returned.

snap

the name of the snap to get connections for or null for all snaps.

cancellable

a Cancellable or null.

callback

a TaskReadyCallback to call when the request is satisfied.

interface

the name of the interface to get connections for or null for all interfaces.

user_data

the data to pass to callback function.