Sha256: abe86b5eb10330684798b23ba66e923f6b0e1be92881bc1d9b957cff1e02d32b

Contents?: true

Size: 346 Bytes

Versions: 28

Compression:

Stored size: 346 Bytes

Contents

module Vertica
  module Messages
    class CancelRequest < FrontendMessage
      message_id nil

      def initialize(backend_pid, backend_key)
        @backend_pid = backend_pid
        @backend_key = backend_key
      end

      def to_bytes
        message_string [80877102, @backend_pid, @backend_key].pack('N3')
      end

    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
vertica-0.12.0 lib/vertica/messages/frontend_messages/cancel_request.rb
vertica-0.11.4 lib/vertica/messages/frontend_messages/cancel_request.rb
vertica-0.11.3 lib/vertica/messages/frontend_messages/cancel_request.rb
vertica-0.11.2 lib/vertica/messages/frontend_messages/cancel_request.rb
vertica-0.11.1 lib/vertica/messages/frontend_messages/cancel_request.rb
vertica-0.11.0 lib/vertica/messages/frontend_messages/cancel_request.rb
vertica-0.10.5 lib/vertica/messages/frontend_messages/cancel_request.rb
vertica-0.10.4 lib/vertica/messages/frontend_messages/cancel_request.rb
vertica-0.10.3 lib/vertica/messages/frontend_messages/cancel_request.rb
vertica-0.10.2 lib/vertica/messages/frontend_messages/cancel_request.rb
vertica-0.10.1 lib/vertica/messages/frontend_messages/cancel_request.rb
vertica-0.10.0 lib/vertica/messages/frontend_messages/cancel_request.rb
vertica-0.9.6 lib/vertica/messages/frontend_messages/cancel_request.rb
vertica-0.9.5 lib/vertica/messages/frontend_messages/cancel_request.rb
vertica-0.9.4 lib/vertica/messages/frontend_messages/cancel_request.rb
vertica-0.9.3 lib/vertica/messages/frontend_messages/cancel_request.rb
vertica-0.9.2 lib/vertica/messages/frontend_messages/cancel_request.rb
vertica-0.9.1 lib/vertica/messages/frontend_messages/cancel_request.rb
vertica-0.9.0 lib/vertica/messages/frontend_messages/cancel_request.rb
vertica-0.9.0.beta9 lib/vertica/messages/frontend_messages/cancel_request.rb