Sha256: 7eed7d46120c3d017a9053fa8efe92326b8a6258f912cc37a279bc193a6a1054
Contents?: true
Size: 888 Bytes
Versions: 5
Compression:
Stored size: 888 Bytes
Contents
# Author:: Nicolas Despres <nicolas.despres@gmail.com>. # Copyright:: Copyright (c) 2004, 2005 TTK team. All rights reserved. # License:: LGPL # $Id: TesterClient.rb 567 2005-04-13 08:00:06Z polrop $ module TTK module Services class TesterClient < DRbService include SubTestable def initialize sub_testable_initialize @master = nil @slave = nil end attr_reader :master attr_reader :slave 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 end # class TesterClient end # module Services end # module TTK
Version data entries
5 entries across 5 versions & 1 rubygems