Class: AMQ::Protocol::Connection::SecureOk
- Defined in:
- lib/amq/protocol/client.rb
Class Method Summary collapse
-
.encode(response) ⇒ Object
[“response = nil”].
- .has_content? ⇒ Boolean
Methods inherited from Method
encode_body, index, inherited, instantiate, method_id, methods, name, split_headers
Class Method Details
.encode(response) ⇒ Object
- “response = nil”
387 388 389 390 391 392 393 394 |
# File 'lib/amq/protocol/client.rb', line 387 def self.encode(response) channel = 0 buffer = "" buffer << @packed_indexes buffer << [response.bytesize].pack(PACK_UINT32) buffer << response MethodFrame.new(buffer, channel) end |
.has_content? ⇒ Boolean
381 382 383 |
# File 'lib/amq/protocol/client.rb', line 381 def self.has_content? false end |