- type ObjectPathText = Text
- type MemberNameText = Text
- type InterfaceNameText = Text
- type BusNameText = Text
- type SignatureText = Text
- memberNamePrefix :: Text
- mkMessageSignal :: ObjectPathText -> MemberNameText -> InterfaceNameText -> BusNameText -> [Variant] -> Signal
- mkSystemClient :: IO Client
- mkSystemClientWithName :: Text -> IO Client
- mkSessionClient :: IO Client
- mkSessionClientWithName :: Text -> IO Client
- mkStarterClient :: IO Client
- requestName' :: Client -> BusNameText -> [RequestNameFlag] -> IO RequestNameReply
- mkLocalObject :: [(InterfaceNameText, [(MemberNameText, Member)])] -> LocalObject
- export' :: Client -> ObjectPathText -> LocalObject -> IO ()
- exportLocalObject :: Client -> ObjectPathText -> [(InterfaceNameText, [(MemberNameText, Member)])] -> IO ()
- mkMatchRule :: Maybe MessageType -> BusNameText -> InterfaceNameText -> MemberNameText -> ObjectPathText -> BusNameText -> [ParameterValue] -> MatchRule
- mkSignalMember :: SignatureText -> Member
- mkMethodMember :: SignatureText -> SignatureText -> (MethodCall -> IO ()) -> Member
- packDigitMemberName :: Text -> Text
- unpackDigitMemberName :: Text -> Text
- isBusNameExist :: Text -> IO Bool
Documentation
type ObjectPathText = TextSource
type MemberNameText = TextSource
type InterfaceNameText = TextSource
type BusNameText = TextSource
type SignatureText = TextSource
memberNamePrefix :: TextSource
Member name prefix for some name that beginning with digit.
mkMessageSignal :: ObjectPathText -> MemberNameText -> InterfaceNameText -> BusNameText -> [Variant] -> SignalSource
Handy function for build DBus message signal.
mkSystemClient :: IO ClientSource
Build system bus client.
mkSystemClientWithName :: Text -> IO ClientSource
Build system bus client with name.
mkSessionClient :: IO ClientSource
Build session bus client.
mkSessionClientWithName :: Text -> IO ClientSource
Build session bus client with name.
mkStarterClient :: IO ClientSource
Build starter bus client.
requestName' :: Client -> BusNameText -> [RequestNameFlag] -> IO RequestNameReplySource
Request name.
mkLocalObject :: [(InterfaceNameText, [(MemberNameText, Member)])] -> LocalObjectSource
Build LoaclObject with Text information, handy!.
export' :: Client -> ObjectPathText -> LocalObject -> IO ()Source
Like export
, but instead ObjectPath with ObjectPathText.
exportLocalObject :: Client -> ObjectPathText -> [(InterfaceNameText, [(MemberNameText, Member)])] -> IO ()Source
Export LocalObject.
mkMatchRule :: Maybe MessageType -> BusNameText -> InterfaceNameText -> MemberNameText -> ObjectPathText -> BusNameText -> [ParameterValue] -> MatchRuleSource
Build MatchRule.
mkSignalMember :: SignatureText -> MemberSource
Create Signal Memeber.
mkMethodMember :: SignatureText -> SignatureText -> (MethodCall -> IO ()) -> MemberSource
Create Method Member.
packDigitMemberName :: Text -> TextSource
Pack digit member name for protocol.
unpackDigitMemberName :: Text -> TextSource
Unpack digit member name for protocol.
isBusNameExist :: Text -> IO BoolSource
Check specify bus name whether exist. This function very useful to check dbus process whether exist by check bus name in dbus list.