Class: AMQ::Protocol::Queue::DeleteOk
- Defined in:
- lib/amq/protocol/client.rb
Instance Attribute Summary collapse
-
#message_count ⇒ Object
readonly
Returns the value of attribute message_count.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(message_count) ⇒ DeleteOk
constructor
A new instance of DeleteOk.
Methods inherited from Method
encode_body, index, inherited, instantiate, method_id, methods, name, split_headers
Constructor Details
#initialize(message_count) ⇒ DeleteOk
Returns a new instance of DeleteOk.
1305 1306 1307 |
# File 'lib/amq/protocol/client.rb', line 1305 def initialize() @message_count = end |
Instance Attribute Details
#message_count ⇒ Object (readonly)
Returns the value of attribute message_count.
1304 1305 1306 |
# File 'lib/amq/protocol/client.rb', line 1304 def @message_count end |
Class Method Details
.decode(data) ⇒ Object
1297 1298 1299 1300 1301 1302 |
# File 'lib/amq/protocol/client.rb', line 1297 def self.decode(data) offset = offset = 0 # self-assigning offset to eliminate "assigned but unused variable" warning even if offset is not used in this method = data[offset, 4].unpack(PACK_UINT32).first offset += 4 self.new() end |
.has_content? ⇒ Boolean
1309 1310 1311 |
# File 'lib/amq/protocol/client.rb', line 1309 def self.has_content? false end |