java.lang.Object
com.swiftmq.amqp.v100.types.AMQPType
com.swiftmq.amqp.v100.types.AMQPList
com.swiftmq.amqp.v100.generated.messaging.message_format.AmqpSequence
All Implemented Interfaces:
SectionIF

public class AmqpSequence extends AMQPList implements SectionIF

A sequence section contains an arbitrary number of structured data elements.

Version:
AMQP Version v100. Generation Date: Wed Apr 18 14:09:32 CEST 2012
Author:
IIT Software GmbH, Bremen/Germany, (c) 2012, All Rights Reserved
  • Field Details

  • Constructor Details

    • AmqpSequence

      public AmqpSequence(List initValue) throws IOException
      Constructs a AmqpSequence.
      Parameters:
      initValue - initial value
  • Method Details

    • accept

      public void accept(SectionVisitor visitor)
      Accept method for a Section visitor.
      Specified by:
      accept in interface SectionIF
      Parameters:
      visitor - Section visitor
    • hasDescriptor

      public boolean hasDescriptor()
      Return whether this AmqpSequence has a descriptor
      Overrides:
      hasDescriptor in class AMQPType
      Returns:
      true/false
    • writeContent

      public void writeContent(DataOutput out) throws IOException
      Description copied from class: AMQPType
      Write the content of this type to a DataOutput.
      Overrides:
      writeContent in class AMQPList
      Parameters:
      out - DataOutput
      Throws:
      IOException - on error
    • toString

      public String toString()
      Overrides:
      toString in class AMQPList