Safe Haskell | None |
---|
DBus.MessageBus
Documentation
messageBusMethod :: (MonadIO m, MonadThrow m, Representable a, SingI (RepType a)) => Text -> [SomeDBusValue] -> DBusConnection -> m aSource
hello :: (MonadIO m, MonadThrow m) => DBusConnection -> m TextSource
data RequestNameFlag Source
Constructors
RequestNameFlag | |
Fields
|
Instances
fromRequestNameFlags :: Num a => RequestNameFlag -> aSource
data RequestNameReply Source
Constructors
PrimaryOwner | |
InQueue | |
Exists | |
AlreadyOwner |
requestName :: (MonadIO m, MonadThrow m) => Text -> RequestNameFlag -> DBusConnection -> m RequestNameReplySource
data ReleaseNameReply Source
Constructors
Released | |
NonExistent | |
NotOwner |
releaseName :: (MonadIO m, MonadThrow m) => Text -> DBusConnection -> m ReleaseNameReplySource
listQueuedOwners :: (MonadIO m, MonadThrow m) => Text -> DBusConnection -> m [Text]Source
listNames :: (MonadIO m, MonadThrow m) => DBusConnection -> m [Text]Source
listActivatableNames :: (MonadIO m, MonadThrow m) => DBusConnection -> m [Text]Source
nameHasOwner :: (MonadIO m, MonadThrow m) => Text -> DBusConnection -> m BoolSource
data StartServiceResult Source
Constructors
StartServiceSuccess | |
StartServiceAlreadyRunning |
startServiceByName :: (MonadIO m, MonadThrow m) => Text -> DBusConnection -> m StartServiceResultSource
getNameOwner :: (MonadIO m, MonadThrow m) => Text -> DBusConnection -> m TextSource
getConnectionUnixUser :: (MonadIO m, MonadThrow m) => Text -> DBusConnection -> m Word32Source
getConnectionProcessID :: (MonadIO m, MonadThrow m) => Text -> DBusConnection -> m Word32Source
getID :: (MonadIO m, MonadThrow m) => DBusConnection -> m TextSource