Sha256: 314b7418689ce55b03a004591d779839c5304918f75643401b760a083a0fd920
Contents?: true
Size: 1019 Bytes
Versions: 17
Compression:
Stored size: 1019 Bytes
Contents
module Hydra #:nodoc: module Messages #:nodoc: module Runner #:nodoc: # Message indicating that a Runner needs a file to run class RequestFile < Hydra::Message def handle(worker, runner) #:nodoc: worker.request_file(self, runner) end end # Message for the Runner to respond with its results class Results < Hydra::Message # The output from running the test attr_accessor :output # The file that was run attr_accessor :file def serialize #:nodoc: super(:output => @output, :file => @file) end def handle(worker, runner) #:nodoc: worker.relay_results(self, runner) end end # Message a runner sends to a worker to verify the connection class Ping < Hydra::Message def handle(worker, runner) #:nodoc: # We don't do anything to handle a ping. It's just to test # the connectivity of the IO end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems