Class: Hydra::Messages::Worker::Shutdown

Inherits:
Hydra::Message show all
Defined in:
lib/hydra/message/worker_messages.rb

Overview

Message to tell the Runner to shut down

Direct Known Subclasses

Master::Shutdown

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(runner) ⇒ Object

:nodoc:



25
26
27
# File 'lib/hydra/message/worker_messages.rb', line 25

def handle(runner) #:nodoc:
  runner.stop
end