Class: Hydra::Messages::Master::RunFile

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

Overview

Message telling a worker to delegate a file to a runner

Instance Attribute Summary

Attributes inherited from Worker::RunFile

#file

Instance Method Summary collapse

Methods inherited from Worker::RunFile

#serialize

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:



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

def handle(worker) #:nodoc:
  worker.delegate_file(self)
end