Module: Liebre::Adapter::Interface::Conn

Included in:
Bunny::Conn
Defined in:
lib/liebre/adapter/interface/conn.rb

Instance Method Summary collapse

Instance Method Details

#open_channelObject

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/liebre/adapter/interface/conn.rb', line 10

def open_channel
  raise NotImplementedError, "All adapters must implement connection open_channel() to start new channels"
end

#startObject

Raises:

  • (NotImplementedError)


6
7
8
# File 'lib/liebre/adapter/interface/conn.rb', line 6

def start
  raise NotImplementedError, "All adapters must implement connection start() to establish connection"
end

#stopObject

Raises:

  • (NotImplementedError)


14
15
16
# File 'lib/liebre/adapter/interface/conn.rb', line 14

def stop
  raise NotImplementedError, "All adapters must implement connection stop() to disconnect from the server"
end