Sha256: 0e4978e780bf575b010305593d52c13beea5b2df9794d19a1511c634ae28eb90

Contents?: true

Size: 404 Bytes

Versions: 4

Compression:

Stored size: 404 Bytes

Contents

module Stomper
  module Frames
    # Encapsulates a "BEGIN" frame from the Stomp Protocol.
    #
    # See the {Stomp Protocol Specification}[http://stomp.codehaus.org/Protocol]
    # for more details.
    class Begin < Stomper::Frames::ClientFrame
      def initialize(transaction_id, headers={})
        super('BEGIN', headers)
        @headers.transaction = transaction_id
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stomper-0.4 lib/stomper/frames/begin.rb
stomper-0.3.2 lib/stomper/frames/begin.rb
stomper-0.3.1 lib/stomper/frames/begin.rb
stomper-0.3.0 lib/stomper/frames/begin.rb