Class: MessageQueue::Base
- Inherits:
-
Object
- Object
- MessageQueue::Base
- Defined in:
- lib/message_queue/base.rb
Instance Attribute Summary collapse
-
#opts ⇒ Object
readonly
Returns the value of attribute opts.
Instance Method Summary collapse
- #client ⇒ Object
- #confirm(queue) ⇒ Object
- #delete(queue) ⇒ Object
- #dequeue(queue) ⇒ Object
- #enqueue(queue, data) ⇒ Object
- #queue_size(queue) ⇒ Object
- #stop ⇒ Object
- #subscribe(queue) ⇒ Object
- #subscribe? ⇒ Boolean
Instance Attribute Details
#opts ⇒ Object (readonly)
Returns the value of attribute opts.
3 4 5 |
# File 'lib/message_queue/base.rb', line 3 def opts @opts end |
Instance Method Details
#client ⇒ Object
10 |
# File 'lib/message_queue/base.rb', line 10 def client; end |
#confirm(queue) ⇒ Object
7 |
# File 'lib/message_queue/base.rb', line 7 def confirm(queue); end |
#delete(queue) ⇒ Object
9 |
# File 'lib/message_queue/base.rb', line 9 def delete(queue); end |
#dequeue(queue) ⇒ Object
6 |
# File 'lib/message_queue/base.rb', line 6 def dequeue(queue); end |
#enqueue(queue, data) ⇒ Object
5 |
# File 'lib/message_queue/base.rb', line 5 def enqueue(queue, data); end |
#queue_size(queue) ⇒ Object
4 |
# File 'lib/message_queue/base.rb', line 4 def queue_size(queue); end |
#stop ⇒ Object
11 |
# File 'lib/message_queue/base.rb', line 11 def stop; end |
#subscribe(queue) ⇒ Object
8 |
# File 'lib/message_queue/base.rb', line 8 def subscribe(queue); end |
#subscribe? ⇒ Boolean
13 14 15 |
# File 'lib/message_queue/base.rb', line 13 def subscribe? false end |