Class Request

    • Constructor Detail

      • Request

        public Request​(int dispatchId,
                       boolean replyRequired)
    • Method Detail

      • isDoRetry

        public boolean isDoRetry()
      • setDoRetry

        public void setDoRetry​(boolean doRetry)
      • isWasRetry

        public boolean isWasRetry()
      • isCancelledByValidator

        public boolean isCancelledByValidator()
      • setCancelledByValidator

        public void setCancelledByValidator​(boolean cancelledByValidator)
      • getConnectionId

        public int getConnectionId()
      • setConnectionId

        public void setConnectionId​(int connectionId)
      • getDumpId

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

        public void writeContent​( out)
        Description copied from interface: Dumpable
        Write the content of this object to the stream.
        Specified by:
        writeContent in interface Dumpable
        out - output stream
        Throws: - if an error occurs
      • readContent

        public void readContent​( in)
        Description copied from interface: Dumpable
        Read the content of this object from the stream.
        Specified by:
        readContent in interface Dumpable
        in - input stream
        Throws: - if an error occurs
      • getDispatchId

        public int getDispatchId()
      • setDispatchId

        public void setDispatchId​(int dispatchId)
      • isReplyRequired

        public boolean isReplyRequired()
      • setReplyRequired

        public void setReplyRequired​(boolean replyRequired)
      • getCorrelationId

        public int getCorrelationId()
      • setCorrelationId

        public void setCorrelationId​(int correlationId)
      • createReplyInstance

        protected abstract Reply createReplyInstance()
      • createReply

        public Reply createReply()
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object