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.22.0 lib/hydra/message/master_messages.rb
sskirby-hydra-0.21.0 lib/hydra/message/master_messages.rb
hydra-0.21.0 lib/hydra/message/master_messages.rb
hydra-0.20.0 lib/hydra/message/master_messages.rb
bellmyer-hydra-0.20.12 lib/hydra/message/master_messages.rb
bellmyer-hydra-0.20.11 lib/hydra/message/master_messages.rb
bellmyer-hydra-0.20.10 lib/hydra/message/master_messages.rb
bellmyer-hydra-0.20.9 lib/hydra/message/master_messages.rb
hydra-0.19.4 lib/hydra/message/master_messages.rb
hydra-0.19.3 lib/hydra/message/master_messages.rb
hydra-0.19.2 lib/hydra/message/master_messages.rb
hydra-0.19.1 lib/hydra/message/master_messages.rb
hydra-0.19.0 lib/hydra/message/master_messages.rb
hydra-0.18.0 lib/hydra/message/master_messages.rb
sskirby-hydra-0.17.1 lib/hydra/message/master_messages.rb
sskirby-hydra-0.16.10 lib/hydra/message/master_messages.rb
hydra-0.17.0 lib/hydra/message/master_messages.rb
sskirby-hydra-0.16.9 lib/hydra/message/master_messages.rb
hydra-0.16.7 lib/hydra/message/master_messages.rb
hydra-0.16.6 lib/hydra/message/master_messages.rb