When a D-Bus server must listen for connections, or a client must connect to a server, the listening socket's configuration is specified with an address. An address contains the method, which determines the protocol and transport mechanism, and parameters, which provide additional method-specific information about the address.
Moduledbus-1.4.1Haskell2010
DBus.Internal.Address
- 1 type
- 16 values
- Packagedbus-1.4.1
- Exports17
- LanguageHaskell2010
- LicenceApache-2.0
- SourceAddress.hs
Convert an address to a string in the format expected by parseAddress.
Convert a list of addresses to a string in the format expected by parseAddresses.
Try to parse a string containing one valid address.
An address string is in the format method:key1=val1,key2=val2. There
are some limitations on the characters allowed within methods and
parameters; see the D-Bus specification for full details.
Try to parse a string containing one or more valid addresses.
Addresses are separated by semicolons. See parseAddress for the format of addresses.
Returns the address in the environment variable
DBUS_SYSTEM_BUS_ADDRESS, or
unix:path=/var/run/dbus/system_bus_socket if DBUS_SYSTEM_BUS_ADDRESS
is not set.
Returns Nothing if DBUS_SYSTEM_BUS_ADDRESS contains an invalid address.
Returns the first address in the environment variable
DBUS_SESSION_BUS_ADDRESS, which must be set.
Returns Nothing if DBUS_SYSTEM_BUS_ADDRESS contains an invalid address
or DBUS_SESSION_BUS_ADDRESS is unset XDG_RUNTIME_DIR doesn't have /bus.
Returns the address in the environment variable
DBUS_STARTER_ADDRESS, which must be set.
Returns Nothing if DBUS_STARTER_ADDRESS is unset or contains an
invalid address.