Sha256: 97a398b5723f890c50902eb204dbeab09a3ac6f99edd716d4ea06ba01c82b3c0

Contents?: true

Size: 516 Bytes

Versions: 20

Compression:

Stored size: 516 Bytes

Contents

require 'asir/transport/delegation'
module ASIR
  class Transport
    # !SLIDE
    # A Transport composed of other Transports.
    #
    # Classes that mix this in should define #_send_message(message, message_payload).
    module Composite
      include Delegation

      # Enumerable of Transport objects.
      attr_accessor :transports
      # If true, continue with other Transports when Transport#send_message raises an Exception.
      attr_accessor :continue_on_exception
    end
    # !SLIDE END
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
asir-1.1.12 lib/asir/transport/composite.rb
asir-1.1.11 lib/asir/transport/composite.rb
asir-1.1.10 lib/asir/transport/composite.rb
asir-1.1.9 lib/asir/transport/composite.rb
asir-1.1.8 lib/asir/transport/composite.rb
asir-1.1.7 lib/asir/transport/composite.rb
asir-1.1.6 lib/asir/transport/composite.rb
asir-1.1.5 lib/asir/transport/composite.rb
asir-1.1.4 lib/asir/transport/composite.rb
asir-1.1.3 lib/asir/transport/composite.rb
asir-1.1.2 lib/asir/transport/composite.rb
asir-1.1.1 lib/asir/transport/composite.rb
asir-1.1.0 lib/asir/transport/composite.rb
asir-1.0.8 lib/asir/transport/composite.rb
asir-1.0.7 lib/asir/transport/composite.rb
asir-1.0.6 lib/asir/transport/composite.rb
asir-1.0.5 lib/asir/transport/composite.rb
asir-1.0.4 lib/asir/transport/composite.rb
asir-1.0.1 lib/asir/transport/composite.rb
asir-0.2.0 lib/asir/transport/composite.rb