Sha256: 8d05377a75aa1f45430f854a9b7eba4e395f65025740e8f4a647c4b7447d6864

Contents?: true

Size: 567 Bytes

Versions: 11

Compression:

Stored size: 567 Bytes

Contents

require 'pp'
require 'socket'
require_relative 'cfg'
require_relative 'database'
require_relative 'poller'
require_relative 'analyzer'
require_relative 'nodes'

module Ring
  class SQA
    def run
      Thread.abort_on_exception = true
      Thread.new { Responder.new }
      Thread.new { Sender.new @database, @nodes }
      Thread.new { Receiver.new @database }
      Analyzer.new(@database, @nodes).run
    end

    private

    def initialize
      require_relative 'log'
      @database  = Database.new
      @nodes     = Nodes.new
      run
    end

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ring-sqa-0.1.2 lib/ring/sqa/core.rb
ring-sqa-0.1.1 lib/ring/sqa/core.rb
ring-sqa-0.1.0 lib/ring/sqa/core.rb
ring-sqa-0.0.23 lib/ring/sqa/core.rb
ring-sqa-0.0.22 lib/ring/sqa/core.rb
ring-sqa-0.0.21 lib/ring/sqa/core.rb
ring-sqa-0.0.20 lib/ring/sqa/core.rb
ring-sqa-0.0.19 lib/ring/sqa/core.rb
ring-sqa-0.0.18 lib/ring/sqa/core.rb
ring-sqa-0.0.16 lib/ring/sqa/core.rb
ring-sqa-0.0.15 lib/ring/sqa/core.rb