Sha256: 5cb97f9ce3a382f0ca62ab3c92d238a237d3d2c1a74faa2ebc9563f07c56ae4c

Contents?: true

Size: 367 Bytes

Versions: 12

Compression:

Stored size: 367 Bytes

Contents

require 'legion/transport/exchanges/lex'

module Legion
  module Transport
    module Messages
      class NodeHealth < Legion::Transport::Message
        def exchange
          Legion::Transport::Exchanges::Node
        end

        def routing_key
          'health'
        end

        def validate
          @valid = true
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
legion-transport-1.1.9 lib/legion/transport/messages/node_health.rb
legion-transport-1.1.8 lib/legion/transport/messages/node_health.rb
legion-transport-1.1.6 lib/legion/transport/messages/node_health.rb
legion-transport-1.1.5 lib/legion/transport/messages/node_health.rb
legion-transport-java-1.1.4 lib/legion/transport/messages/node_health.rb
legion-transport-1.1.4 lib/legion/transport/messages/node_health.rb
legion-transport-java-1.1.3 lib/legion/transport/messages/node_health.rb
legion-transport-1.1.3 lib/legion/transport/messages/node_health.rb
legion-transport-1.1.2 lib/legion/transport/messages/node_health.rb
legion-transport-1.1.1 lib/legion/transport/messages/node_health.rb
legion-transport-1.1.0 lib/legion/transport/messages/node_health.rb
legion-transport-1.0.0 lib/legion/transport/messages/node_health.rb