Interface DBusConnectionFlags


public interface DBusConnectionFlags
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static 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 NONE
      No flags set.
      See Also:
    • AUTHENTICATION_CLIENT

      static final int AUTHENTICATION_CLIENT
      Perform authentication against server.
      See Also:
    • AUTHENTICATION_SERVER

      static final int AUTHENTICATION_SERVER
      Perform authentication against client.
      See Also:
    • AUTHENTICATION_ALLOW_ANONYMOUS

      static final int AUTHENTICATION_ALLOW_ANONYMOUS
      When
      authenticating as a server, allow the anonymous authentication
      method.
      See Also:
    • MESSAGE_BUS_CONNECTION

      static final int MESSAGE_BUS_CONNECTION
      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.
      See Also:
    • DELAY_MESSAGE_PROCESSING

      static final int DELAY_MESSAGE_PROCESSING
      If 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_USER
      When 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_NAMESPACE
      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
      See Also: