Foundry.DBusService¶
- Subclasses:
None
Methods¶
- Inherited:
Foundry.Service (8), Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8)
- Structs:
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Foundry.DBusService(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Manages D-Bus service for remote command execution.
Foundry.DBusServiceprovides a D-Bus socket for clients to connect to and execute commands within the primary application instance. This is also can be used to execute a subshell and have persistent background work running in between shell commands.Development environments that wants to allow interacting with the UI instance from a shell are encouraged to give access to terminal emulators with this sockets address in the form of
FOUNDRY_ADDRESS=environment variable.- dup_address()¶
-
Gets the D-Bus address of the embedded D-Bus server.
Deprecated since version 1.1.
- query_address()¶
- Returns:
a [class`Dex`.Future] that resolves to a string containing the address, or rejects with error.
- Return type:
Ensures the
Gio.DBusServeris running and provides the address.New in version 1.1.