DBusServer
Object Hierarchy:
Description:
[
CCode ( type_id =
"e_dbus_server_get_type ()" ) ]
[
Version ( since =
"3.4" ) ]
public abstract class DBusServer :
Object,
Extensible
Contains only private data that should be read and manipulated using the functions below.
Content:
Creation methods:
Methods:
- public void hold ()
Increases the use count of this.
- public void load_modules ()
This function should be called once during
this initialization to load all available library modules to extend the this's
functionality.
- public void quit (DBusServerExitCode code)
Emits the EDBusServer::quit signal with the given
code.
- public void release ()
Decreates the use count of this.
- public DBusServerExitCode run (bool wait_for_client)
Emits the EDBusServer::run signal.
Signals:
- public virtual signal void bus_acquired (DBusConnection connection)
Emitted when server acquires a connection to the session
bus.
- public virtual signal void bus_name_acquired (DBusConnection connection)
Emitted when server acquires its well-known session bus
name.
- public virtual signal void bus_name_lost (DBusConnection connection)
Emitted when server loses its well-known session bus name
or the session bus connection has been closed.
- public virtual signal void quit_server (DBusServerExitCode code)
Emitted to request that server quit its main loop.
- public virtual signal DBusServerExitCode run_server ()
Emitted to request that server start its main loop and
attempt to acquire its well-known session bus name.
Inherited Members:
All known members inherited from class GLib.Object
All known members inherited from interface E.Extensible