Class: TTK::Services::TesterMaster
- Inherits:
-
DRbService
- Object
- DRb::DRbService
- DRbService
- TTK::Services::TesterMaster
- Includes:
- SubTestable
- Defined in:
- lib/ttk/services/TesterMaster.rb
Defined Under Namespace
Modules: Notification
Instance Method Summary collapse
-
#initialize(config = {}) ⇒ TesterMaster
constructor
module Notification.
- #start_service(uri, name, sub_tester_uris) ⇒ Object
Methods inherited from DRbService
Constructor Details
#initialize(config = {}) ⇒ TesterMaster
module Notification
21 22 23 |
# File 'lib/ttk/services/TesterMaster.rb', line 21 def initialize(config={}) sub_testable_initialize end |
Instance Method Details
#start_service(uri, name, sub_tester_uris) ⇒ Object
25 26 27 28 29 30 31 32 33 |
# File 'lib/ttk/services/TesterMaster.rb', line 25 def start_service(uri, name, sub_tester_uris) sub_testable_set(sub_tester_uris) @front = Testers::Master.new(self, name, @sub_testers) super(uri) changed notify_observers(Notification::NAME, name) changed notify_observers(Notification::SUB_TESTERS, sub_tester_uris) end |