Class: MessageQueue::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/message_queue/base.rb

Direct Known Subclasses

Kestrel, Rabbit

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#optsObject (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

#clientObject



9
# File 'lib/message_queue/base.rb', line 9

def client;               end

#confirm(queue) ⇒ Object



7
# File 'lib/message_queue/base.rb', line 7

def confirm(queue);       end

#delete(queue) ⇒ Object



8
# File 'lib/message_queue/base.rb', line 8

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

#flush_all(queue) ⇒ Object



11
# File 'lib/message_queue/base.rb', line 11

def flush_all(queue);     end

#queue_size(queue) ⇒ Object



4
# File 'lib/message_queue/base.rb', line 4

def queue_size(queue);    end

#stopObject



10
# File 'lib/message_queue/base.rb', line 10

def stop;                 end