Methods

Class/Module Index [+]

Quicksearch

AMQ::Client::Async::Entity

AMQ entities, as implemented by AMQ::Client, have callbacks and can run them when necessary.

@note Exchanges and queues implementation is based on this class.

@abstract

Attributes

callbacks[R]

@return [Array<call>]

Public Class Methods

new(connection) click to toggle source
# File lib/amq/client/async/entity.rb, line 56
def initialize(connection)
  @connection = connection
  # Be careful with default values for #ruby hashes: h = Hash.new(Array.new); h[:key] ||= 1
  # won't assign anything to :key. MK.
  @callbacks  = Hash.new
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.