Class: Hydra::Messages::Worker::RequestFile

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

Overview

Message indicating that a worker needs a file to delegate to a runner

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(master, worker) ⇒ Object

:nodoc:



6
7
8
# File 'lib/hydra/message/worker_messages.rb', line 6

def handle(master, worker) #:nodoc:
  master.send_file(worker)
end