Class | TTK::Services::TesterClient |
In: |
lib/ttk/services/TesterClient.rb
|
Parent: | DRbService |
master | [R] | |
slave | [R] |
# File lib/ttk/services/TesterClient.rb, line 14 def initialize sub_testable_initialize @master = nil @slave = nil end
# File lib/ttk/services/TesterClient.rb, line 23 def start_service(uri=nil, sub_tester_uris=[], local_slave=false) super(uri) sub_testable_set(sub_tester_uris) if local_slave @slave = Testers::Slave.new(self, 'local slave') @sub_testers[self.uri] = @slave end @master = Testers::Master.new(self, 'local master', @sub_testers) end