dbus-core-0.8.5.4: Low-level D-Bus protocol implementation

DBus.Bus

Synopsis

Documentation

getBus :: Mechanism -> Address -> IO (Connection, BusName)Source

Similar to connect, but additionally sends Hello messages to the central bus.

getFirstBus :: [(Mechanism, Address)] -> IO (Connection, BusName)Source

Similar to connectFirst, but additionally sends Hello messages to the central bus.

getSystemBus :: IO (Connection, BusName)Source

Connect to the bus specified in the environment variable DBUS_SYSTEM_BUS_ADDRESS, or to unix:path=/var/run/dbus/system_bus_socket if DBUS_SYSTEM_BUS_ADDRESS is not set.

getSessionBus :: IO (Connection, BusName)Source

Connect to the bus specified in the environment variable DBUS_SESSION_BUS_ADDRESS, which must be set.

getStarterBus :: IO (Connection, BusName)Source

Connect to the bus specified in the environment variable DBUS_STARTER_ADDRESS, which must be set.