Class: Hydra::Messages::Master::Shutdown
- Inherits:
-
Worker::Shutdown
- Object
- Hydra::Message
- Worker::Shutdown
- Hydra::Messages::Master::Shutdown
- Defined in:
- lib/hydra/message/master_messages.rb
Overview
Message telling the worker to shut down.
Instance Method Summary collapse
-
#handle(worker) ⇒ Object
:nodoc:.
Methods inherited from Hydra::Message
build, #initialize, #serialize
Constructor Details
This class inherits a constructor from Hydra::Message
Instance Method Details
#handle(worker) ⇒ Object
:nodoc:
13 14 15 |
# File 'lib/hydra/message/master_messages.rb', line 13 def handle(worker) #:nodoc: worker.shutdown end |