Class: Hydra::Messages::Worker::Results

Inherits:
Runner::Results show all
Defined in:
lib/hydra/message/worker_messages.rb

Overview

Message relaying the results of a worker up to the master

Instance Attribute Summary

Attributes inherited from Runner::Results

#file, #output

Instance Method Summary collapse

Methods inherited from Runner::Results

#serialize

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:



32
33
34
35
# File 'lib/hydra/message/worker_messages.rb', line 32

def handle(master, worker) #:nodoc:
  $stdout.write output
  master.send_file(worker)
end