Class: Hydra::Messages::Master::Shutdown

Inherits:
Worker::Shutdown show all
Defined in:
lib/hydra/message/master_messages.rb

Overview

Message telling the worker to shut down.

Instance Method Summary collapse

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