Class: Broker::Launcher
- Inherits:
-
Object
- Object
- Broker::Launcher
- Defined in:
- lib/broker/launcher.rb
Instance Method Summary collapse
-
#initialize ⇒ Launcher
constructor
A new instance of Launcher.
- #run ⇒ Object
- #stop ⇒ Object
Constructor Details
Instance Method Details
#run ⇒ Object
51 52 53 54 |
# File 'lib/broker/launcher.rb', line 51 def run puts "launcher is running" @poller.start end |
#stop ⇒ Object
56 57 58 59 60 |
# File 'lib/broker/launcher.rb', line 56 def stop @finished = true @poller.terminate puts "launcher stopped" end |