class Utils::ProbeClient
configuration management.
to communicate with the server, enabling distributed task execution and
environment variables on a remote probe server. It uses Unix domain sockets
This class provides an interface for enqueueing process jobs and managing
A client for interacting with the probe server through Unix domain sockets.
def enqueue(args)
-
args
(Array
) -- the command arguments to be executed by the process
def enqueue(args) @server.transmit({ type: 'process_job', args: }) end
def env
-
(Utils::ProbeServer::EnvProxy)
- a proxy object for environment
def env EnvProxy.new(@server) end
def initialize
-
(Utils::ProbeServer)
- a new probe server instance configured with
def initialize @server = UnixSocks::Server.new(socket_name: 'probe.sock', runtime_dir: Dir.pwd) end