Class CloseConsumerRequest

    • Constructor Detail

      • CloseConsumerRequest

        public CloseConsumerRequest()
      • CloseConsumerRequest

        public CloseConsumerRequest​(int dispatchId)
      • CloseConsumerRequest

        public CloseConsumerRequest​(RequestRetryValidator validator,
                                    int dispatchId)
      • CloseConsumerRequest

        public CloseConsumerRequest​(int dispatchId,
                                    int sessionDispatchId,
                                    int queueConsumerId,
                                    java.lang.String consumerException)
      • CloseConsumerRequest

        public CloseConsumerRequest​(RequestRetryValidator validator,
                                    int dispatchId,
                                    int sessionDispatchId,
                                    int queueConsumerId,
                                    java.lang.String consumerException)
    • Method Detail

      • getSessionDispatchId

        public int getSessionDispatchId()
      • setSessionDispatchId

        public void setSessionDispatchId​(int sessionDispatchId)
      • getQueueConsumerId

        public int getQueueConsumerId()
      • setQueueConsumerId

        public void setQueueConsumerId​(int queueConsumerId)
      • getConsumerException

        public java.lang.String getConsumerException()
      • setConsumerException

        public void setConsumerException​(java.lang.String consumerException)
      • getDumpId

        public int getDumpId()
        Description copied from interface: Dumpable
        Returns a unique dump id for this object.
        Specified by:
        getDumpId in interface Dumpable
        Overrides:
        getDumpId in class Request
        Returns:
        unique dump id
      • writeContent

        public void writeContent​(java.io.DataOutput out)
                          throws java.io.IOException
        Description copied from interface: Dumpable
        Write the content of this object to the stream.
        Specified by:
        writeContent in interface Dumpable
        Overrides:
        writeContent in class Request
        Parameters:
        out - output stream
        Throws:
        java.io.IOException - if an error occurs
      • readContent

        public void readContent​(java.io.DataInput in)
                         throws java.io.IOException
        Description copied from interface: Dumpable
        Read the content of this object from the stream.
        Specified by:
        readContent in interface Dumpable
        Overrides:
        readContent in class Request
        Parameters:
        in - input stream
        Throws:
        java.io.IOException - if an error occurs
      • toString

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