module Rabbiter::Client::GLibAdapter
Attributes
connection[RW]
Public Instance Methods
close_connection()
click to toggle source
# File lib/rabbiter.rb, line 264 def close_connection @connection.close end
reconnect(server, port)
click to toggle source
# File lib/rabbiter.rb, line 260 def reconnect(server, port) @connection.reconnect end
reconnect_after(timeout)
click to toggle source
# File lib/rabbiter.rb, line 255 def reconnect_after(timeout) @reconnect_callback.call(timeout, @reconnect_retries) if @reconnect_callback @connection.reconnect(:after => timeout) end
send_data(data)
click to toggle source
# File lib/rabbiter.rb, line 251 def send_data(data) @connection.send_data(data) end
start_tls()
click to toggle source
# File lib/rabbiter.rb, line 248 def start_tls end