Sha256: 00386dcd44a4009c92d17ad5ed89c9f9893435d3d4b0ca2e6168be4133afdc77

Contents?: true

Size: 427 Bytes

Versions: 1

Compression:

Stored size: 427 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.to_network_int32,
          @backend_pid.to_network_int32,
          @backend_key.to_network_int32
        ])
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vertica-0.8.1 lib/vertica/messages/frontend_messages/cancel_request.rb