Class TTK::Services::TesterClient
In: lib/ttk/services/TesterClient.rb
Parent: DRbService

Methods

new   start_service  

Included Modules

SubTestable

Attributes

master  [R] 
slave  [R] 

Public Class methods

[Source]

# File lib/ttk/services/TesterClient.rb, line 14
      def initialize
        sub_testable_initialize
        @master = nil
        @slave = nil
      end

Public Instance methods

[Source]

# 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

[Validate]