Class: TTK::Services::DRbService
- Includes:
- Observable
- Defined in:
- lib/ttk/services/DRbService.rb,
lib/ttk/services/DRbService/sub_testable.rb
Direct Known Subclasses
FetcherClient, FetcherServer, MonitorClient, MonitorServer, TesterClient, TesterMaster, TesterSlave
Defined Under Namespace
Modules: Notification, SubTestable
Instance Method Summary collapse
-
#start_service(uri) ⇒ Object
module Notification.
- #stop_service ⇒ Object
- #update(*args, &block) ⇒ Object
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_service ⇒ Object
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 |