class Ring::SQA
Constants
- CFG
- Config
- Directory
- Log
Public Class Methods
new()
click to toggle source
# File lib/ring/sqa/core.rb, line 21 def initialize require_relative 'log' @database = Database.new # make sure Ping is created raise "Table 'pings' does not exist" unless @database.table_exists? @nodes = Nodes.new run end
Public Instance Methods
run()
click to toggle source
# File lib/ring/sqa/core.rb, line 11 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