ddbus.thin

Thin OO wrapper around DBus types

Public Imports

ddbus.exception
public import ddbus.exception : wrapErrors, DBusException;

Members

Enums

BusName
enum BusName

Serves as typesafe alias. Instances should be created using busName instead of casting. It prevents accidental usage of bus names in other string parameter fields and makes the API clearer.

FileDescriptor
enum FileDescriptor

Serving as a typesafe alias for a FileDescriptor.

InterfaceName
enum InterfaceName

Serves as typesafe alias. Instances should be created using interfaceName instead of casting. It prevents accidental usage of interface paths in other string parameter fields and makes the API clearer.

MessageType
enum MessageType
Undocumented in source.

Functions

busName
BusName busName(string name)

Casts a bus name argument to a BusName type. May include additional validation in the future.

connectToBus
Connection connectToBus(DBusBusType bus)
Undocumented in source. Be warned that the author may not have intended to support it.
fileDescriptor
FileDescriptor fileDescriptor(uint fileNo)

Casts an integer to a FileDescriptor.

interfaceName
InterfaceName interfaceName(string path)

Casts a interface path argument to an InterfaceName type. May include additional validation in the future.

variant
Variant!T variant(T data)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Connection
struct Connection
Undocumented in source.
DBusAny
struct DBusAny

Structure allowing typeless parameters

Message
struct Message

Represents a message in the dbus system. Use the constructor to

ObjectPath
struct ObjectPath
Undocumented in source.
Variant
struct Variant(T)

Marks the data as variant on serialization

Meta