phosphor-dbus

Generic, service-agnostic D-Bus client utilities.

The generic D-Bus plumbing every consumer would otherwise reimplement. Client is a copyable value type bound to a (connection, service, objectPath) triple — fireAndForget, sendOneWay, asyncCall, syncCall, createCall — that never blocks the calling thread on wire introspection. HasDBusStreaming is a compile-time check that catches a missing QDBusArgument marshaller at build time instead of as a runtime demarshalling crash. Knows nothing about Phosphor or PlasmaZones; project-specific service names and wire types live one layer up in phosphor-protocol.

Full API →

Key types

Client
Value-type method-call client bound to a connection / service / object-path triple.
HasDBusStreaming
Compile-time check for QDBusArgument operator<< / operator>>.
lcPhosphorDBus
Default logging category for call-failure warnings.

Dependencies

See also

References