EBackend.DBusServer
Description: Reference for EBackend.DBusServer

### Class

# EBackendDBusServer

since: 3.4

#### Description

    abstract class EBackend.DBusServer : GObject.Object
      implements EDataServer.Extensible {
      /* No available fields */
    }

No description available.

Available since: 3.4

#### Hierarchy

#### Ancestors

- GObject

#### Descendants

- EDataFactory
- EUserPrompterServer

#### Implements

- EExtensible

#### Instance methods

###### e_dbus_server_hold

Increases the use count of `server`.

since: 3.4

###### e_dbus_server_load_modules

This function should be called once during `server` initialization to load all available library modules to extend the `server`‘s functionality.

since: 3.4

###### e_dbus_server_quit

Emits the `EDBusServer::quit` signal with the given `code`.

since: 3.4

###### e_dbus_server_release

Decreates the use count of `server`.

since: 3.4

###### e_dbus_server_run

Emits the `EDBusServer::run` signal.

since: 3.4

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

##### Methods inherited from EExtensible (3)

###### e_extensible_list_extensions

Returns a list of `EExtension` objects bound to `extensible` whose types are ancestors of `extension_type`. For a complete list of extension objects bound to `extensible`, pass `E_TYPE_EXTENSION`.

###### e_extensible_load_extensions

Creates an instance of all instantiable subtypes of `EExtension` which target the class of `extensible`. The lifetimes of these newly created `EExtension` objects are bound to `extensible` such that they are finalized when `extensible` is finalized.

###### e_extensible_reload_extensions

Similar to e_extensible_load_extensions(), only loads newly discovered extensions again. This can help in case a new module had been loaded to the process, which provides the extensions for the `extensible`.

#### Signals

###### EBackend.DBusServer::bus-acquired

Emitted when `server` acquires a connection to the session bus.

###### EBackend.DBusServer::bus-name-acquired

Emitted when `server` acquires its well-known session bus name.

###### EBackend.DBusServer::bus-name-lost

Emitted when `server` loses its well-known session bus name or the session bus connection has been closed.

###### EBackend.DBusServer::quit-server

Emitted to request that `server` quit its main loop.

###### EBackend.DBusServer::run-server

Emitted to request that `server` start its main loop and attempt to acquire its well-known session bus name.

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct EBackendDBusServerClass {
      GObjectClass parent_class;
      const gchar* bus_name;
      const gchar* module_directory;
      void (* bus_acquired) (
        EDBusServer* server,
        GDBusConnection* connection
      );
      void (* bus_name_acquired) (
        EDBusServer* server,
        GDBusConnection* connection
      );
      void (* bus_name_lost) (
        EDBusServer* server,
        GDBusConnection* connection
      );
      EDBusServerExitCode (* run_server) (
        EDBusServer* server
      );
      void (* quit_server) (
        EDBusServer* server,
        EDBusServerExitCode code
      );
      gpointer reserved;

    }

No description available.

###### Class members

`parent_class: GObjectClass`

  No description available.

`bus_name: const gchar*`

  No description available.

`module_directory: const gchar*`

  No description available.

`bus_acquired: void (* bus_acquired) ( EDBusServer* server, GDBusConnection* connection )`

  No description available.

`bus_name_acquired: void (* bus_name_acquired) ( EDBusServer* server, GDBusConnection* connection )`

  No description available.

`bus_name_lost: void (* bus_name_lost) ( EDBusServer* server, GDBusConnection* connection )`

  No description available.

`run_server: EDBusServerExitCode (* run_server) ( EDBusServer* server )`

  No description available.

`quit_server: void (* quit_server) ( EDBusServer* server, EDBusServerExitCode code )`

  No description available.

`reserved: gpointer`

  No description available.

#### Virtual methods

###### EBackend.DBusServerClass.bus_acquired

No description available.

###### EBackend.DBusServerClass.bus_name_acquired

No description available.

###### EBackend.DBusServerClass.bus_name_lost

No description available.

###### EBackend.DBusServerClass.quit_server

No description available.

###### EBackend.DBusServerClass.run_server

No description available.