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.
1202 1203 1204 |
# File 'lib/amq/protocol/client.rb', line 1202 def initialize() @message_count = end |
Instance Attribute Details
#message_count ⇒ Object (readonly)
Returns the value of attribute message_count.
1201 1202 1203 |
# File 'lib/amq/protocol/client.rb', line 1201 def @message_count end |
Class Method Details
.decode(data) ⇒ Object
1194 1195 1196 1197 1198 1199 |
# File 'lib/amq/protocol/client.rb', line 1194 def self.decode(data) offset = 0 = data[offset, 4].unpack(PACK_UINT32).first offset += 4 self.new() end |
.has_content? ⇒ Boolean
1206 1207 1208 |
# File 'lib/amq/protocol/client.rb', line 1206 def self.has_content? false end |