class Array
{Array} is converted to/from an AMQP list, which is allowed to hold mixed-type elements. Use {UniformArray} to convert/from an AMQP array with uniform element type.
Public Class Methods
proton_get(data)
click to toggle source
@deprecated
# File lib/types/array.rb, line 111 def self.proton_get(data) Qpid::Proton::Util::Deprecation.deprecated __method__, "Codec::Data#list" data.list end
Public Instance Methods
proton_array_header()
click to toggle source
@deprecated use {UniformArray}
# File lib/types/array.rb, line 82 def proton_array_header Qpid::Proton::Util::Deprecation.deprecated __method__, UniformArray @proton_array_header end
proton_array_header=(h)
click to toggle source
@deprecated use {UniformArray}
# File lib/types/array.rb, line 88 def proton_array_header=(h) Qpid::Proton::Util::Deprecation.deprecated __method__, UniformArray @proton_array_header= h end
proton_described?()
click to toggle source
@deprecated use {UniformArray}
# File lib/types/array.rb, line 94 def proton_described?() Qpid::Proton::Util::Deprecation.deprecated __method__, UniformArray @proton_array_header && @proton_array_header.described? end
proton_put(data)
click to toggle source
@deprecated
# File lib/types/array.rb, line 100 def proton_put(data) Qpid::Proton::Util::Deprecation.deprecated __method__, "Codec::Data#array=, Codec::Data#list=" raise TypeError, "nil data" unless data if @proton_array_header && @proton_array_header.type data.array = self else data.list = self end end