Sha256: f05ccab5241833da915e97b63d8a03f5fc12aa134c8ef6259c930d2edfe40812

Contents?: true

Size: 499 Bytes

Versions: 63

Compression:

Stored size: 499 Bytes

Contents

module Hydra #:nodoc:
  module Messages #:nodoc:
    module Master #:nodoc:
      # Message telling a worker to delegate a file to a runner
      class RunFile < Hydra::Messages::Worker::RunFile
        def handle(worker) #:nodoc:
          worker.delegate_file(self)
        end
      end

      # Message telling the worker to shut down.
      class Shutdown < Hydra::Messages::Worker::Shutdown
        def handle(worker) #:nodoc:
          worker.shutdown
        end
      end
    end
  end
end

Version data entries

63 entries across 63 versions & 8 rubygems

Version Path
hydra-0.16.5 lib/hydra/message/master_messages.rb
hydra-0.16.4 lib/hydra/message/master_messages.rb
hydra-0.16.3 lib/hydra/message/master_messages.rb
hydra-0.16.2 lib/hydra/message/master_messages.rb
hydra-0.16.1 lib/hydra/message/master_messages.rb
hydra-0.16.0 lib/hydra/message/master_messages.rb
hydra-0.15.1 lib/hydra/message/master_messages.rb
hydra-0.15.0 lib/hydra/message/master_messages.rb
hydra-0.14.1 lib/hydra/message/master_messages.rb
hydra-0.14.0 lib/hydra/message/master_messages.rb
hydra-0.13.0 lib/hydra/message/master_messages.rb
hydra-0.12.0 lib/hydra/message/master_messages.rb
hydra-0.11.0 lib/hydra/message/master_messages.rb
hydra-0.10.3 lib/hydra/message/master_messages.rb
hydra-0.10.2 lib/hydra/message/master_messages.rb
hydra-0.10.1 lib/hydra/message/master_messages.rb
hydra-0.10.0 lib/hydra/message/master_messages.rb
hydra-0.9.0 lib/hydra/message/master_messages.rb
hydra-0.8.0 lib/hydra/message/master_messages.rb
hydra-0.7.2 lib/hydra/message/master_messages.rb