amqp-0.18.1: Client library for AMQP servers (currently only RabbitMQ)

Safe HaskellNone
LanguageHaskell98

Network.AMQP.Types

Description

This module contains data-types specified in the AMQP spec

Synopsis

Documentation

data AMQPException #

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 Octet = Word8 #

type Bit = Bool #

data FieldTable #

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

Constructors

FieldTable (Map Text FieldValue) 

data CloseType #

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

Constructors

Normal 
Abnormal