Class: RightSpeed::Processor::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/right_speed/processor.rb

Instance Method Summary collapse

Constructor Details

#initialize(workers, handler) ⇒ Base

Returns a new instance of Base.



46
47
48
# File 'lib/right_speed/processor.rb', line 46

def initialize(workers, handler)
  raise "BUG: use implementation class"
end

Instance Method Details

#configure(listener:) ⇒ Object



50
51
52
# File 'lib/right_speed/processor.rb', line 50

def configure(listener:)
  raise "BUG: not implemented"
end

#process(conn) ⇒ Object



58
59
60
# File 'lib/right_speed/processor.rb', line 58

def process(conn)
  raise "BUG: not implemented"
end

#runObject



54
55
56
# File 'lib/right_speed/processor.rb', line 54

def run
  raise "BUG: not implemented"
end

#waitObject



62
63
64
65
66
# File 'lib/right_speed/processor.rb', line 62

def wait
  raise "BUG: not implemented"
  # ractors.each{|r| r.take}
  # finalizer.close rescue nil
end