Sha256: 73b9e7fc0731fed87c83da94375a6de91edb5f417b1fa8dcf57232f40e2a766d

Contents?: true

Size: 587 Bytes

Versions: 4

Compression:

Stored size: 587 Bytes

Contents

# encoding: utf-8

require "amq/client/adapters/event_machine"

module AMQP
  # AMQP client implementation based on amq-client library. Left here for API compatibility
  # with 0.7.x series.
  #
  # @note This class is not part of the public API and may be removed in the future without any warning.
  class BasicClient < AMQ::Client::EventMachineClient

    #
    # API
    #

    # @api plugin
    def connected?
      self.opened?
    end

    # @api plugin
    def reconnect(force = false)
      # TODO
      raise NotImplementedError.new
    end # reconnect(force = false)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
amqp-0.8.0.rc2 lib/amqp/basic_client.rb
amqp-0.8.0.rc1 lib/amqp/basic_client.rb
amqp-0.8.0.pre.beta1 lib/amqp/basic_client.rb
amqp-0.8.0.beta1 lib/amqp/basic_client.rb