class Utils::ProbeServer
def start
from the queue and entering a receive loop to handle incoming requests.
This method sets up the probe server by starting a thread to process jobs
The start method initializes and begins operation of the probe server.
def start output_message "Starting probe server listening to #{@server.server_socket_path}.", type: :info Thread.new do loop do job = @jobs_queue.pop run_job job end end begin receive_loop.join rescue Interrupt ARGV.clear << '-f' output_message %{\nEntering interactive mode.}, type: :info help begin old, $VERBOSE = $VERBOSE, nil examine(self) ensure $VERBOSE = old end @server.remove_socket_path output_message "Quitting interactive mode, but still listening to #{@server.server_socket_path}.", type: :info retry end end