class AMQ::Protocol::GetResponse
Attributes
method[R]
Public Class Methods
new(method)
click to toggle source
# File lib/amq/protocol/get_response.rb, line 8 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 48 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 17 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 12 def empty? @method.is_a?(::AMQ::Protocol::Basic::GetEmpty) end
exchange()
click to toggle source
# File lib/amq/protocol/get_response.rb, line 29 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 41 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 23 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 35 def routing_key if @method.respond_to?(:routing_key) @method.routing_key end end