Sha256: 7b491c19fae69e57676964f9ef731cfa5a10d778208a4206449def1e66e6b089

Contents?: true

Size: 639 Bytes

Versions: 3

Compression:

Stored size: 639 Bytes

Contents

module AMQ
  module Protocol
    TLS_PORT         = 5671
    SSL_PORT         = 5671

    # caching
    EMPTY_STRING = "".freeze

    PACK_INT8               = 'c'.freeze
    PACK_CHAR               = 'C'.freeze
    PACK_UINT16             = 'n'.freeze
    PACK_UINT16_X2          = 'n2'.freeze
    PACK_UINT32             = 'N'.freeze
    PACK_UINT32_X2          = 'N2'.freeze
    PACK_INT64              = 'q'.freeze
    PACK_INT64_BE           = 'q>'.freeze
    PACK_UCHAR_UINT32       = 'CN'.freeze
    PACK_CHAR_UINT16_UINT32 = 'cnN'.freeze

    PACK_32BIT_FLOAT        = 'f'.freeze
    PACK_64BIT_FLOAT        = 'G'.freeze
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
amq-protocol-2.1.0 lib/amq/protocol/constants.rb
amq-protocol-2.0.1 lib/amq/protocol/constants.rb
amq-protocol-2.0.0 lib/amq/protocol/constants.rb