Used to declare an array as an AMQP array.
The value, if defined, is an instance of Qpid::Proton::ArrayHeader
Returns true if the array is the a Proton described type.
# File lib/qpid_proton/array.rb, line 65 def proton_described? !@proton_array_header.nil? && @proton_array_header.described? end
Puts the elements of the array into the specified Qpid::Proton::Data object.
# File lib/qpid_proton/array.rb, line 70 def proton_put(data) raise TypeError, "data object cannot be nil" if data.nil? if @proton_array_header.nil? proton_put_list(data) else proton_put_array(data) end end