Class: Legion::Transport::InProcess::Channel
- Inherits:
-
Object
- Object
- Legion::Transport::InProcess::Channel
- Defined in:
- lib/legion/transport/in_process.rb
Instance Method Summary collapse
- #acknowledge ⇒ Object
- #basic_qos(count, _global: false) ⇒ Object
- #close ⇒ Object
- #exchange_declare ⇒ Object
- #exchange_delete ⇒ Object
-
#initialize ⇒ Channel
constructor
A new instance of Channel.
- #open? ⇒ Boolean
- #prefetch(count, _global: false) ⇒ Object
- #reject ⇒ Object
Constructor Details
#initialize ⇒ Channel
Returns a new instance of Channel.
54 55 56 |
# File 'lib/legion/transport/in_process.rb', line 54 def initialize @open = true end |
Instance Method Details
#acknowledge ⇒ Object
76 |
# File 'lib/legion/transport/in_process.rb', line 76 def acknowledge(*); end |
#basic_qos(count, _global: false) ⇒ Object
70 71 72 |
# File 'lib/legion/transport/in_process.rb', line 70 def basic_qos(count, _global: false) prefetch(count) end |
#close ⇒ Object
62 63 64 |
# File 'lib/legion/transport/in_process.rb', line 62 def close @open = false end |
#exchange_declare ⇒ Object
74 |
# File 'lib/legion/transport/in_process.rb', line 74 def exchange_declare(*); end |
#exchange_delete ⇒ Object
80 |
# File 'lib/legion/transport/in_process.rb', line 80 def exchange_delete(*); end |
#open? ⇒ Boolean
58 59 60 |
# File 'lib/legion/transport/in_process.rb', line 58 def open? @open end |
#prefetch(count, _global: false) ⇒ Object
66 67 68 |
# File 'lib/legion/transport/in_process.rb', line 66 def prefetch(count, _global: false) count end |
#reject ⇒ Object
78 |
# File 'lib/legion/transport/in_process.rb', line 78 def reject(*); end |