lib/amqp/session.rb in amqp-1.0.0.pre2 vs lib/amqp/session.rb in amqp-1.0.0
- old
+ new
@@ -108,11 +108,11 @@
super(opts, period)
end # reconnect_to(connection_string_or_options = {})
# Properly close connection with AMQ broker, as described in
- # section 2.2.4 of the {http://bit.ly/hw2ELX AMQP 0.9.1 specification}.
+ # section 2.2.4 of the {http://files.travis-ci.org/docs/amqp/0.9.1/AMQP091Specification.pdf AMQP 0.9.1 specification}.
#
# @api plugin
# @see #close_connection
def disconnect(reply_code = 200, reply_text = "Goodbye", &block)
# defined here to make this method appear in YARD documentation. MK.
@@ -127,23 +127,23 @@
# @group Broker information
# Server properties (product information, platform, et cetera)
#
# @return [Hash]
- # @see http://bit.ly/htCzCX AMQP 0.9.1 protocol documentation (Section 1.4.2.1.3)
+ # @see http://files.travis-ci.org/docs/amqp/0.9.1/AMQP091Reference.pdf AMQP 0.9.1 protocol documentation (Section 1.4.2.1.3)
attr_reader :server_properties
# Server capabilities (usually used to detect AMQP 0.9.1 extensions like basic.nack, publisher
# confirms and so on)
#
# @return [Hash]
- # @see http://bit.ly/htCzCX AMQP 0.9.1 protocol documentation (Section 1.4.2.1.3)
+ # @see http://files.travis-ci.org/docs/amqp/0.9.1/AMQP091Reference.pdf AMQP 0.9.1 protocol documentation (Section 1.4.2.1.3)
attr_reader :server_capabilities
# Locales server supports
#
- # @see http://bit.ly/htCzCX AMQP 0.9.1 protocol documentation (Section 1.4.2.1.3)
+ # @see http://files.travis-ci.org/docs/amqp/0.9.1/AMQP091Reference.pdf AMQP 0.9.1 protocol documentation (Section 1.4.2.1.3)
attr_reader :server_locales
# @return [AMQP::Broker] Broker this connection is established with
def broker
@broker ||= AMQP::Broker.new(@server_properties)
@@ -184,10 +184,10 @@
def on_tcp_connection_failure(&block)
# defined here to make this method appear in YARD documentation. MK.
super(&block)
end
- # Defines a callback that will be run when initial TCP connection fails.
+ # Defines a callback that will be run when TCP connection to AMQP broker is lost (interrupted).
# You can define only one callback.
#
# @api public
def on_tcp_connection_loss(&block)
# defined here to make this method appear in YARD documentation. MK.