Gjsify LogoGjsify Logo

Interface DBusConnection_ConstructProps

Hierarchy

Index

Properties

address?: string

A D-Bus address specifying potential endpoints that can be used when establishing the connection.

authentication_observer?: DBusAuthObserver

A #GDBusAuthObserver object to assist in the authentication process or %NULL.

exit_on_close?: boolean

A boolean specifying whether the process will be terminated (by calling raise(SIGTERM)) if the connection is closed by the remote peer.

Note that #GDBusConnection objects returned by g_bus_get_finish() and g_bus_get_sync() will (usually) have this property set to %TRUE.

Flags from the #GDBusConnectionFlags enumeration.

guid?: string

The GUID of the peer performing the role of server when authenticating.

If you are constructing a #GDBusConnection and pass %G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_SERVER in the #GDBusConnection:flags property then you must also set this property to a valid guid.

If you are constructing a #GDBusConnection and pass %G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT in the #GDBusConnection:flags property you will be able to read the GUID of the other peer here after the connection has been successfully initialized.

Note that the D-Bus specification uses the term ‘UUID’ to refer to this, whereas GLib consistently uses the term ‘GUID’ for historical reasons.

Despite its name, the format of #GDBusConnection:guid does not follow RFC 4122 or the Microsoft GUID format.

stream?: IOStream

The underlying #GIOStream used for I/O.

If this is passed on construction and is a #GSocketConnection, then the corresponding #GSocket will be put into non-blocking mode.

While the #GDBusConnection is active, it will interact with this stream from a worker thread, so it is not safe to interact with the stream directly.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method