- class Message a where
- messageFlags :: a -> Set Flag
- messageBody :: a -> [Variant]
- data Flag
- data Serial
- serialValue :: Serial -> Word32
- firstSerial :: Serial
- nextSerial :: Serial -> Serial
- data MethodCall = MethodCall {}
- data MethodReturn = MethodReturn {}
- data Error = Error {}
- errorMessage :: Error -> Text
- data Signal = Signal {}
- data Unknown = Unknown {
- unknownType :: Word8
- unknownFlags :: Set Flag
- unknownBody :: [Variant]
- data ReceivedMessage
- receivedSerial :: ReceivedMessage -> Serial
- receivedSender :: ReceivedMessage -> Maybe BusName
- receivedBody :: ReceivedMessage -> [Variant]
Documentation
messageFlags :: a -> Set FlagSource
messageBody :: a -> [Variant]Source
A value used to uniquely identify a particular message within a session.
Serial
s are 32-bit unsigned integers, and eventually wrap.
serialValue :: Serial -> Word32Source
nextSerial :: Serial -> SerialSource
Error | |
|
errorMessage :: Error -> TextSource
Unknown | |
|
data ReceivedMessage Source
Not an actual message type, but a wrapper around messages received from
the bus. Each value contains the message's Serial
and possibly the
origin's BusName
receivedBody :: ReceivedMessage -> [Variant]Source