Module: ASIR::Transport::Composite
Overview
!SLIDE A Transport composed of other Transports.
Classes that mix this in should define #_send_message.
Instance Attribute Summary collapse
-
#continue_on_exception ⇒ Object
If true, continue with other Transports when Transport#send_message raises an Exception.
-
#transports ⇒ Object
Enumerable of Transport objects.
Attributes included from Delegation
#on_failed_message, #on_send_message_exception, #reraise_first_exception
Method Summary
Methods included from Delegation
#_handle_send_message_exception!, #_receive_result, #needs_message_identifier?, #needs_message_timestamp?
Instance Attribute Details
#continue_on_exception ⇒ Object
If true, continue with other Transports when Transport#send_message raises an Exception.
14 15 16 |
# File 'lib/asir/transport/composite.rb', line 14 def continue_on_exception @continue_on_exception end |
#transports ⇒ Object
Enumerable of Transport objects.
12 13 14 |
# File 'lib/asir/transport/composite.rb', line 12 def transports @transports end |