Class: Ring::SQA::Responder

Inherits:
Poller
  • Object
show all
Defined in:
lib/ring/sqa/poller/responder.rb

Constant Summary

Constants inherited from Poller

Poller::MAX_READ

Instance Method Summary collapse

Methods inherited from Poller

#address, #port, #udp_socket

Instance Method Details

#runObject



5
6
7
8
9
10
# File 'lib/ring/sqa/poller/responder.rb', line 5

def run
  udp = udp_socket
  Log.debug "Responder binding to #{address.inspect} in port #{port}" if CFG.debug?
  udp.bind address, port
  loop { respond udp }
end