amqp-0.22.0: Client library for AMQP servers (currently only RabbitMQ)
Safe HaskellNone
LanguageHaskell2010

Network.AMQP.Types

Description

This module contains data-types specified in the AMQP spec

Synopsis

Documentation

data AMQPException Source #

Constructors

ChannelClosedException CloseType String

the String contains the reason why the channel was closed

ConnectionClosedException CloseType String

String may contain a reason

AllChannelsAllocatedException Int

the Int contains the channel-max property of the connection (i.e. the highest permitted channel id)

type Bit = Bool Source #

data FieldTable Source #

Keys must be shorter than 256 bytes when encoded as UTF-8

Constructors

FieldTable (Map Text FieldValue) 

data CloseType Source #

describes whether a channel was closed by user-request (Normal) or by an AMQP exception (Abnormal)

Constructors

Normal 
Abnormal 

Instances

Instances details
Eq CloseType Source # 
Instance details

Defined in Network.AMQP.Types

Ord CloseType Source # 
Instance details

Defined in Network.AMQP.Types

Show CloseType Source # 
Instance details

Defined in Network.AMQP.Types