Class: Promiscuous::AMQP::File

Inherits:
Object
  • Object
show all
Defined in:
lib/promiscuous/amqp/file.rb

Defined Under Namespace

Modules: Subscriber

Instance Method Summary collapse

Instance Method Details

#connectObject



2
3
# File 'lib/promiscuous/amqp/file.rb', line 2

def connect
end

#connected?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/promiscuous/amqp/file.rb', line 8

def connected?
  true
end

#disconnectObject



5
6
# File 'lib/promiscuous/amqp/file.rb', line 5

def disconnect
end

#new_connection(options = {}) ⇒ Object



12
13
# File 'lib/promiscuous/amqp/file.rb', line 12

def new_connection(options={})
end

#publish(options = {}) ⇒ Object

Raises:

  • (NotImplemented)


15
16
17
18
# File 'lib/promiscuous/amqp/file.rb', line 15

def publish(options={})
  options[:on_confirm].try(:call)
  raise NotImplemented
end