Class: AMQ::Protocol::GetResponse

### Home Classes Methods

### In Files

- lib/amq/protocol/get_response.rb

### Parent

Object

### Methods

- ::new
- #cluster_id
- #delivery_tag
- #empty?
- #exchange
- #message_count
- #redelivered
- #routing_key

### Class/Module Index

Quicksearch

- AMQ
- AMQ::Client
- AMQ::Client::Async
- AMQ::Client::Async::Adapter
- AMQ::Client::Async::Adapter::ClassMethods
- AMQ::Client::Async::AuthMechanismAdapter
- AMQ::Client::Async::AuthMechanismAdapter::External
- AMQ::Client::Async::AuthMechanismAdapter::Plain
- AMQ::Client::Async::Callbacks
- AMQ::Client::Async::Channel
- AMQ::Client::Async::Consumer
- AMQ::Client::Async::CoolioClient
- AMQ::Client::Async::CoolioClient::Socket
- AMQ::Client::Async::Entity
- AMQ::Client::Async::EventMachineClient
- AMQ::Client::Async::Exchange
- AMQ::Client::Async::Extensions
- AMQ::Client::Async::Extensions::RabbitMQ
- AMQ::Client::Async::Extensions::RabbitMQ::Basic
- AMQ::Client::Async::Extensions::RabbitMQ::Basic::ChannelMixin
- AMQ::Client::Async::Extensions::RabbitMQ::Basic::ConsumerMixin
- AMQ::Client::Async::Extensions::RabbitMQ::Basic::QueueMixin
- AMQ::Client::Async::Extensions::RabbitMQ::Confirm
- AMQ::Client::Async::Extensions::RabbitMQ::Confirm::ChannelMixin
- AMQ::Client::Async::ProtocolMethodHandlers
- AMQ::Client::Async::Queue
- AMQ::Client::Async::RegisterEntityMixin
- AMQ::Client::BadLengthError
- AMQ::Client::ConnectionClosedError
- AMQ::Client::ConsumerTagGenerator
- AMQ::Client::Framing
- AMQ::Client::Framing::IO
- AMQ::Client::Framing::IO::Frame
- AMQ::Client::Framing::String
- AMQ::Client::Framing::String::Frame
- AMQ::Client::HandlersRegistry
- AMQ::Client::InconsistentDataError
- AMQ::Client::Logging
- AMQ::Client::Logging::IncompatibleLoggerError
- AMQ::Client::MissingHandlerError
- AMQ::Client::NoFinalOctetError
- AMQ::Client::Openable
- AMQ::Client::Openable::ImproperStatusError
- AMQ::Client::PossibleAuthenticationFailureError
- AMQ::Client::ServerNamedEntity
- AMQ::Client::Settings
- AMQ::Client::TCPConnectionFailed
- AMQ::Client::UnknownExchangeTypeError
- AMQ::Protocol
- AMQ::Protocol::GetResponse

No matching classes.

# 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

[Validate]

Generated with the Darkfish Rdoc Generator 2.