class AMQ::Protocol::GetResponse
Attributes
method[R]
Public Class Methods
new(method)
click to toggle source
# File lib/amq/protocol/get_response.rb, line 7 def initialize(method) @method = method end
Public Instance Methods
cluster_id()
click to toggle source
GetEmpty attributes
# File lib/amq/protocol/get_response.rb, line 47 def cluster_id if @method.respond_to?(:cluster_id) @method.cluster_id end end
delivery_tag()
click to toggle source
GetOk attributes
# File lib/amq/protocol/get_response.rb, line 16 def delivery_tag if @method.respond_to?(:delivery_tag) @method.delivery_tag end end
empty?()
click to toggle source
# File lib/amq/protocol/get_response.rb, line 11 def empty? @method.is_a?(::AMQ::Protocol::Basic::GetEmpty) end
exchange()
click to toggle source
# File lib/amq/protocol/get_response.rb, line 28 def exchange if @method.respond_to?(:exchange) @method.exchange end end
message_count()
click to toggle source
# File lib/amq/protocol/get_response.rb, line 40 def message_count if @method.respond_to?(:message_count) @method.message_count end end
redelivered()
click to toggle source
# File lib/amq/protocol/get_response.rb, line 22 def redelivered if @method.respond_to?(:redelivered) @method.redelivered end end
routing_key()
click to toggle source
# File lib/amq/protocol/get_response.rb, line 34 def routing_key if @method.respond_to?(:routing_key) @method.routing_key end end