Package ch.bailu.gtk.gio
Interface DBusConnectionFlags
public interface DBusConnectionFlags
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
When
authenticating as a server, allow the anonymous authentication
method.static final int
Perform authentication against server.static final int
When authenticating
as a server, require the UID of the peer to be the same as the UID of the server.static final int
Perform authentication against client.static final int
When authenticating, try to use
protocols that work across a Linux user namespace boundary, even if this
reduces interoperability with older D-Bus implementations.static final int
If set, processing of D-Bus messages is
delayed until g_dbus_connection_start_message_processing() is called.static final int
Pass this flag if connecting to a peer that is a
message bus.static final int
No flags set.
-
Field Details
-
NONE
static final int NONENo flags set.- See Also:
-
AUTHENTICATION_CLIENT
static final int AUTHENTICATION_CLIENTPerform authentication against server.- See Also:
-
AUTHENTICATION_SERVER
static final int AUTHENTICATION_SERVERPerform authentication against client.- See Also:
-
AUTHENTICATION_ALLOW_ANONYMOUS
static final int AUTHENTICATION_ALLOW_ANONYMOUSWhen
authenticating as a server, allow the anonymous authentication
method.- See Also:
-
MESSAGE_BUS_CONNECTION
static final int MESSAGE_BUS_CONNECTIONPass 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.- See Also:
-
DELAY_MESSAGE_PROCESSING
static final int DELAY_MESSAGE_PROCESSINGIf set, processing of D-Bus messages is
delayed until g_dbus_connection_start_message_processing() is called.- See Also:
-
AUTHENTICATION_REQUIRE_SAME_USER
static final int AUTHENTICATION_REQUIRE_SAME_USERWhen authenticating
as a server, require the UID of the peer to be the same as the UID of the server. (Since: 2.68)- See Also:
-
CROSS_NAMESPACE
static final int CROSS_NAMESPACEWhen 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- See Also:
-