DBus.Bus
- getBus :: Mechanism -> Address -> IO (Connection, BusName)
- getFirstBus :: [(Mechanism, Address)] -> IO (Connection, BusName)
- getSystemBus :: IO (Connection, BusName)
- getSessionBus :: IO (Connection, BusName)
- getStarterBus :: IO (Connection, BusName)
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.