Proxy
Represents a proxy object, which is a convenient local object created to represent a remote D-Bus object in another process. The proxy enables calling methods on remote objects, receiving signals from remote objects, and getting/setting properties of remote objects.
All Proxy member methods throw com.monkopedia.sdbus.SdbusException in case of D-Bus or sdbus-kotlin error. The Proxy interface has been designed as thread-aware. However, the operation of creating and sending method calls (both synchronously and asynchronously) is thread-safe by design.
Properties
Functions
Calls method on the remote D-Bus object
Calls method on the D-Bus object
Calls method on the D-Bus object asynchronously
Calls method on the D-Bus object asynchronously, with custom timeout
Calls method on the D-Bus object asynchronously
Creates a method call message
Gets values of all properties of the D-Bus object
Gets the values of all properties declared on the given interface.
Gets values of all properties of the D-Bus object asynchronously
Asynchronously gets the values of all properties declared on the given interface.
Gets value of a property of the D-Bus object
Gets value of a property of the D-Bus object asynchronously
Asynchronously gets the value of a property of the D-Bus object.
Creates a read/write Kotlin property delegate backed by a D-Bus property.
Registers a signal handler for a given signal of the D-Bus object
Creates a simple read/write Kotlin property delegate backed by a D-Bus property.
Creates a read-only Kotlin property delegate backed by a D-Bus property.
Registers a handler for the desired signal emitted by the D-Bus object
Sets a property on the D-Bus object.
Sets value of a property of the D-Bus object asynchronously
Asynchronously sets a property on the D-Bus object.
Subscribes to a D-Bus signal and exposes its decoded payloads as a cold Flow.