Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module contains data-types specified in the AMQP spec
Synopsis
- data AMQPException
- type Octet = Word8
- type Bit = Bool
- type ChannelID = ShortInt
- type PayloadSize = LongInt
- type ShortInt = Word16
- type LongInt = Word32
- type LongLongInt = Word64
- newtype ShortString = ShortString Text
- newtype LongString = LongString ByteString
- type ConsumerTag = Text
- type Timestamp = Word64
- data FieldTable = FieldTable (Map Text FieldValue)
- data FieldValue
- type Decimals = Octet
- data DecimalValue = DecimalValue Decimals LongInt
- data ConfirmationResult
- data CloseType
Documentation
data AMQPException Source #
ChannelClosedException CloseType String | the |
ConnectionClosedException CloseType String | String may contain a reason |
AllChannelsAllocatedException Int | the |
Instances
Exception AMQPException Source # | |
Defined in Network.AMQP.Types | |
Show AMQPException Source # | |
Defined in Network.AMQP.Types showsPrec :: Int -> AMQPException -> ShowS # show :: AMQPException -> String # showList :: [AMQPException] -> ShowS # | |
Eq AMQPException Source # | |
Defined in Network.AMQP.Types (==) :: AMQPException -> AMQPException -> Bool # (/=) :: AMQPException -> AMQPException -> Bool # | |
Ord AMQPException Source # | |
Defined in Network.AMQP.Types compare :: AMQPException -> AMQPException -> Ordering # (<) :: AMQPException -> AMQPException -> Bool # (<=) :: AMQPException -> AMQPException -> Bool # (>) :: AMQPException -> AMQPException -> Bool # (>=) :: AMQPException -> AMQPException -> Bool # max :: AMQPException -> AMQPException -> AMQPException # min :: AMQPException -> AMQPException -> AMQPException # |
type PayloadSize = LongInt Source #
type LongLongInt = Word64 Source #
newtype ShortString Source #
Instances
Read ShortString Source # | |
Defined in Network.AMQP.Types readsPrec :: Int -> ReadS ShortString # readList :: ReadS [ShortString] # readPrec :: ReadPrec ShortString # readListPrec :: ReadPrec [ShortString] # | |
Show ShortString Source # | |
Defined in Network.AMQP.Types showsPrec :: Int -> ShortString -> ShowS # show :: ShortString -> String # showList :: [ShortString] -> ShowS # | |
Binary ShortString Source # | |
Defined in Network.AMQP.Types | |
Eq ShortString Source # | |
Defined in Network.AMQP.Types (==) :: ShortString -> ShortString -> Bool # (/=) :: ShortString -> ShortString -> Bool # | |
Ord ShortString Source # | |
Defined in Network.AMQP.Types compare :: ShortString -> ShortString -> Ordering # (<) :: ShortString -> ShortString -> Bool # (<=) :: ShortString -> ShortString -> Bool # (>) :: ShortString -> ShortString -> Bool # (>=) :: ShortString -> ShortString -> Bool # max :: ShortString -> ShortString -> ShortString # min :: ShortString -> ShortString -> ShortString # |
newtype LongString Source #
Instances
Read LongString Source # | |
Defined in Network.AMQP.Types readsPrec :: Int -> ReadS LongString # readList :: ReadS [LongString] # readPrec :: ReadPrec LongString # readListPrec :: ReadPrec [LongString] # | |
Show LongString Source # | |
Defined in Network.AMQP.Types showsPrec :: Int -> LongString -> ShowS # show :: LongString -> String # showList :: [LongString] -> ShowS # | |
Binary LongString Source # | |
Defined in Network.AMQP.Types | |
Eq LongString Source # | |
Defined in Network.AMQP.Types (==) :: LongString -> LongString -> Bool # (/=) :: LongString -> LongString -> Bool # | |
Ord LongString Source # | |
Defined in Network.AMQP.Types compare :: LongString -> LongString -> Ordering # (<) :: LongString -> LongString -> Bool # (<=) :: LongString -> LongString -> Bool # (>) :: LongString -> LongString -> Bool # (>=) :: LongString -> LongString -> Bool # max :: LongString -> LongString -> LongString # min :: LongString -> LongString -> LongString # |
type ConsumerTag = Text Source #
data FieldTable Source #
Keys must be shorter than 256 bytes when encoded as UTF-8
Instances
Read FieldTable Source # | |
Defined in Network.AMQP.Types readsPrec :: Int -> ReadS FieldTable # readList :: ReadS [FieldTable] # readPrec :: ReadPrec FieldTable # readListPrec :: ReadPrec [FieldTable] # | |
Show FieldTable Source # | |
Defined in Network.AMQP.Types showsPrec :: Int -> FieldTable -> ShowS # show :: FieldTable -> String # showList :: [FieldTable] -> ShowS # | |
Binary FieldTable Source # | |
Defined in Network.AMQP.Types | |
Eq FieldTable Source # | |
Defined in Network.AMQP.Types (==) :: FieldTable -> FieldTable -> Bool # (/=) :: FieldTable -> FieldTable -> Bool # | |
Ord FieldTable Source # | |
Defined in Network.AMQP.Types compare :: FieldTable -> FieldTable -> Ordering # (<) :: FieldTable -> FieldTable -> Bool # (<=) :: FieldTable -> FieldTable -> Bool # (>) :: FieldTable -> FieldTable -> Bool # (>=) :: FieldTable -> FieldTable -> Bool # max :: FieldTable -> FieldTable -> FieldTable # min :: FieldTable -> FieldTable -> FieldTable # |
data FieldValue Source #
Instances
Read FieldValue Source # | |
Defined in Network.AMQP.Types readsPrec :: Int -> ReadS FieldValue # readList :: ReadS [FieldValue] # readPrec :: ReadPrec FieldValue # readListPrec :: ReadPrec [FieldValue] # | |
Show FieldValue Source # | |
Defined in Network.AMQP.Types showsPrec :: Int -> FieldValue -> ShowS # show :: FieldValue -> String # showList :: [FieldValue] -> ShowS # | |
Binary FieldValue Source # | |
Defined in Network.AMQP.Types | |
Eq FieldValue Source # | |
Defined in Network.AMQP.Types (==) :: FieldValue -> FieldValue -> Bool # (/=) :: FieldValue -> FieldValue -> Bool # | |
Ord FieldValue Source # | |
Defined in Network.AMQP.Types compare :: FieldValue -> FieldValue -> Ordering # (<) :: FieldValue -> FieldValue -> Bool # (<=) :: FieldValue -> FieldValue -> Bool # (>) :: FieldValue -> FieldValue -> Bool # (>=) :: FieldValue -> FieldValue -> Bool # max :: FieldValue -> FieldValue -> FieldValue # min :: FieldValue -> FieldValue -> FieldValue # |
data DecimalValue Source #
Instances
Read DecimalValue Source # | |
Defined in Network.AMQP.Types readsPrec :: Int -> ReadS DecimalValue # readList :: ReadS [DecimalValue] # | |
Show DecimalValue Source # | |
Defined in Network.AMQP.Types showsPrec :: Int -> DecimalValue -> ShowS # show :: DecimalValue -> String # showList :: [DecimalValue] -> ShowS # | |
Binary DecimalValue Source # | |
Defined in Network.AMQP.Types | |
Eq DecimalValue Source # | |
Defined in Network.AMQP.Types (==) :: DecimalValue -> DecimalValue -> Bool # (/=) :: DecimalValue -> DecimalValue -> Bool # | |
Ord DecimalValue Source # | |
Defined in Network.AMQP.Types compare :: DecimalValue -> DecimalValue -> Ordering # (<) :: DecimalValue -> DecimalValue -> Bool # (<=) :: DecimalValue -> DecimalValue -> Bool # (>) :: DecimalValue -> DecimalValue -> Bool # (>=) :: DecimalValue -> DecimalValue -> Bool # max :: DecimalValue -> DecimalValue -> DecimalValue # min :: DecimalValue -> DecimalValue -> DecimalValue # |
data ConfirmationResult Source #
Instances
Show ConfirmationResult Source # | |
Defined in Network.AMQP.Types showsPrec :: Int -> ConfirmationResult -> ShowS # show :: ConfirmationResult -> String # showList :: [ConfirmationResult] -> ShowS # |