Class: TTK::Services::DRbService

Inherits:
DRb::DRbService
  • Object
show all
Includes:
Observable
Defined in:
lib/ttk/services/DRbService.rb,
lib/ttk/services/DRbService/sub_testable.rb

Defined Under Namespace

Modules: Notification, SubTestable

Instance Method Summary collapse

Instance Method Details

#start_service(uri) ⇒ Object

module Notification



23
24
25
26
27
# File 'lib/ttk/services/DRbService.rb', line 23

def start_service(uri)
  super
  changed
  notify_observers(Notification::START, @uri.to_s)
end

#stop_serviceObject



29
30
31
32
33
# File 'lib/ttk/services/DRbService.rb', line 29

def stop_service
  super
  changed
  notify_observers(Notification::STOP, @uri.to_s)
end

#update(*args, &block) ⇒ Object



35
36
37
38
# File 'lib/ttk/services/DRbService.rb', line 35

def update(*args, &block)
  changed
  notify_observers(*args, &block)
end