Module: Carrot::AMQP

Defined in:
lib/secure_carrot.rb,
lib/amqp/protocol.rb,
lib/amqp/exchange.rb,
lib/amqp/server.rb,
lib/amqp/header.rb,
lib/amqp/buffer.rb,
lib/amqp/queue.rb,
lib/amqp/frame.rb,
lib/amqp/spec.rb,
lib/amqp/spec.rb

Defined Under Namespace

Modules: Protocol Classes: Buffer, Exchange, Frame, Header, Queue, Server

Constant Summary collapse

HEADER =
"AMQP".freeze
VERSION_MAJOR =
8
VERSION_MINOR =
0
PORT =
5672
RESPONSES =
{
  200 => :REPLY_SUCCESS,
  310 => :NOT_DELIVERED,
  311 => :CONTENT_TOO_LARGE,
  312 => :NO_ROUTE,
  313 => :NO_CONSUMERS,
  403 => :ACCESS_REFUSED,
  404 => :NOT_FOUND,
  405 => :RESOURCE_LOCKED,
  406 => :PRECONDITION_FAILED,
  320 => :CONNECTION_FORCED,
  402 => :INVALID_PATH,
}
FIELDS =
[
  :bit,
  :long,
  :longlong,
  :longstr,
  :octet,
  :short,
  :shortstr,
  :table,
  :timestamp,
]