Safe Haskell | None |
---|
- data MatchRule = MatchRule {
- mrType :: Maybe MessageType
- mrSender :: Maybe Text
- mrInterface :: Maybe Text
- mrMember :: Maybe Text
- mrPath :: Maybe (Bool, ObjectPath)
- mrDestination :: Maybe Text
- mrArgs :: [(Int, Text)]
- mrArgPaths :: [(Int, Text)]
- mrArg0namespace :: Maybe Text
- mrEavesdrop :: Maybe Bool
- matchAll :: MatchRule
- renderRule :: MatchRule -> Text
- matchSignal :: MessageHeader -> MatchRule -> Bool
- addMatch :: (MonadIO m, MonadThrow m) => MatchRule -> DBusConnection -> m ()
- removeMatch :: (MonadIO m, MonadThrow m) => MatchRule -> DBusConnection -> m ()
Documentation
MatchRule | |
|
renderRule :: MatchRule -> TextSource
matchSignal :: MessageHeader -> MatchRule -> BoolSource
Match a Signal against a rule. The argN, argNPath and arg0namespace parameter are ignored at the moment
addMatch :: (MonadIO m, MonadThrow m) => MatchRule -> DBusConnection -> m ()Source
removeMatch :: (MonadIO m, MonadThrow m) => MatchRule -> DBusConnection -> m ()Source