Class: DeepTest::Distributed::MultiTestServerProxy::WorkerServerProxy
- Inherits:
-
Object
- Object
- DeepTest::Distributed::MultiTestServerProxy::WorkerServerProxy
- Defined in:
- lib/deep_test/distributed/multi_test_server_proxy.rb
Instance Method Summary collapse
-
#initialize(options, slaves) ⇒ WorkerServerProxy
constructor
A new instance of WorkerServerProxy.
- #load_files(files) ⇒ Object
- #start_all ⇒ Object
- #stop_all ⇒ Object
Constructor Details
#initialize(options, slaves) ⇒ WorkerServerProxy
Returns a new instance of WorkerServerProxy.
22 23 24 25 |
# File 'lib/deep_test/distributed/multi_test_server_proxy.rb', line 22 def initialize(, slaves) DeepTest.logger.debug "WorkerServerProxy#initialize #{slaves.inspect}" @slave_controller = DispatchController.new(, slaves) end |
Instance Method Details
#load_files(files) ⇒ Object
27 28 29 30 |
# File 'lib/deep_test/distributed/multi_test_server_proxy.rb', line 27 def load_files(files) DeepTest.logger.debug "dispatch load_files" @slave_controller.dispatch(:load_files, files) end |