address_get_stream


Description:

public async IOStream address_get_stream (string address, Cancellable? cancellable = null) 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.

When the operation is finished, callback will be invoked. You can then call g_dbus_address_get_stream_finish 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 AsyncReadyCallback to call when the request is satisfied.

user_data

Data to pass to callback.


Namespace: GLib.DBus
Package: gio-2.0