Enumeration (GI Flags)

Gio-2.0GioDBusConnectionFlagsSince 2.26

Flags used when creating a new Gio.DBusConnection.

2.26

Index

Enumeration Members

AUTHENTICATION_ALLOW_ANONYMOUS: number

When authenticating as a server, allow the anonymous authentication method.

AUTHENTICATION_CLIENT: number

Perform authentication against server.

AUTHENTICATION_REQUIRE_SAME_USER: number

When authenticating as a server, require the UID of the peer to be the same as the UID of the server. (Since: 2.68)

AUTHENTICATION_SERVER: number

Perform authentication against client.

CROSS_NAMESPACE: number

When authenticating, try to use protocols that work across a Linux user namespace boundary, even if this reduces interoperability with older D-Bus implementations. This currently affects client-side EXTERNAL authentication, for which this flag makes connections to a server in another user namespace succeed, but causes a deadlock when connecting to a GDBus server older than 2.73.3. Since: 2.74

DELAY_MESSAGE_PROCESSING: number

If set, processing of D-Bus messages is delayed until g_dbus_connection_start_message_processing() is called.

MESSAGE_BUS_CONNECTION: number

Pass this flag if connecting to a peer that is a message bus. This means that the Hello() method will be invoked as part of the connection setup.

NONE: number

No flags set.