run


Description:

public DBusServerExitCode run (bool wait_for_client)

Emits the EDBusServer::run signal.

By default the this will start its main loop and attempt to acquire its well-known session bus name. If the this's main loop is already running, the function will immediately return NONE. Otherwise the function blocks until quit is called.

If wait_for_client is true, the this will continue running until the first client connection is made instead of quitting on its own if no client connection is made within the first few seconds.

Parameters:

this

an DBusServer

wait_for_client

continue running until a client connects

Returns:

the exit code passed to quit