address_get_stream


Description:


[ Version ( since = "2.26" ) ]
public async IOStream address_get_stream (string address, Cancellable? cancellable = null, out string? out_guid) throws Error

Asynchronously connects to an endpoint specified by address and sets up the connection so it is in a state to run the client-side of the D-Bus authentication conversation.

address must be in the D-Bus address format.

When the operation is finished, callback will be invoked. You can then call address_get_stream.end to get the result of the operation.

This is an asynchronous failable function. See address_get_stream_sync for the synchronous version.

Parameters:

address

A valid D-Bus address.

cancellable

A Cancellable or null.

callback

A TaskReadyCallback to call when the request is satisfied.

user_data

Data to pass to callback.


Namespace: GLib.DBus
Package: gio-2.0



2022 vala-language.org