Class: AMQ::Protocol::Connection::SecureOk
- Defined in:
- lib/amq/protocol/client.rb
Class Method Summary collapse
-
.encode(response) ⇒ Object
[u’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
- u’response = nil’
410 411 412 413 414 415 416 417 |
# File 'lib/amq/protocol/client.rb', line 410 def self.encode(response) channel = 0 buffer = '' buffer << @packed_indexes buffer << [response.to_s.bytesize].pack(PACK_UINT32) buffer << response.to_s MethodFrame.new(buffer, channel) end |
.has_content? ⇒ Boolean
404 405 406 |
# File 'lib/amq/protocol/client.rb', line 404 def self.has_content? false end |