# File lib/qrack/client.rb, line 16
                def initialize(opts = {})
                        @host = opts[:host] || 'localhost'
      @user   = opts[:user]  || 'guest'
      @pass   = opts[:pass]  || 'guest'
      @vhost  = opts[:vhost] || '/'
                        @logfile = opts[:logfile] || nil
                        @logging = opts[:logging] || false
                        @ssl = opts[:ssl] || false
      @verify_ssl = opts[:verify_ssl].nil? || opts[:verify_ssl]
      @status = :not_connected
                        @frame_max = opts[:frame_max] || 131072
                        @channel_max = opts[:channel_max] || 0
                        @heartbeat = opts[:heartbeat] || 0
      @connect_timeout = opts[:connect_timeout] || CONNECT_TIMEOUT
                        @logger = nil
                        create_logger if @logging
                        @message_in = false
                        @message_out = false
                        @connecting = false
                        @channels ||= []
                        # Create channel 0
      @channel = create_channel()
                        @exchanges ||= {}
                        @queues ||= {}
                end