Class DeleteOnClose

  • All Implemented Interfaces:
    LifetimePolicyIF

    public class DeleteOnClose
    extends AMQPList
    implements LifetimePolicyIF

    A node dynamically created with this lifetime policy will be deleted at the point that the link which caused its creation ceases to exist.

    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
    • Constructor Detail

      • DeleteOnClose

        public DeleteOnClose​(java.util.List initValue)
                      throws java.lang.Exception
        Constructs a DeleteOnClose.
        Parameters:
        initValue - initial value
        Throws:
        error - during initialization
        java.lang.Exception
      • DeleteOnClose

        public DeleteOnClose()
        Constructs a DeleteOnClose.
    • Method Detail

      • hasDescriptor

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

        public int getPredictedSize()
        Returns the predicted size of this DeleteOnClose. The predicted size may be greater than the actual size but it can never be less.
        Specified by:
        getPredictedSize in interface LifetimePolicyIF
        Overrides:
        getPredictedSize in class AMQPList
        Returns:
        predicted size
      • getArrayConstructor

        public AMQPDescribedConstructor getArrayConstructor()
                                                     throws java.io.IOException
        Returns an array constructor (internal use)
        Returns:
        array constructor
        Throws:
        java.io.IOException
      • writeContent

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

        public java.lang.String toString()
        Overrides:
        toString in class AMQPList