Class XACnxRecoverReply

    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        define serialVersionUID for interoperability
        See Also:
        Constant Field Values
      • bqs

        private Vector bqs
        Branch qualifiers.
      • fis

        private Vector fis
        Format identifiers.
      • gtis

        private Vector gtis
        Global transaction identifiers.
    • Constructor Detail

      • XACnxRecoverReply

        public XACnxRecoverReply​(XACnxRecoverRequest req,
                                 Vector bqs,
                                 Vector fis,
                                 Vector gtis)
        Constructs a XACnxRecoverReply instance.
        Parameters:
        req - The replied request.
        bqs - Branch qualifiers.
        fis - Format identifiers.
        gtis - Global transaction identifiers.
      • XACnxRecoverReply

        public XACnxRecoverReply()
        Constructs a XACnxRecoverReply instance.
    • Method Detail

      • setBQS

        public void setBQS​(Vector bqs)
      • setFIS

        public void setFIS​(Vector fis)
      • setGTIS

        public void setGTIS​(Vector gtis)
      • getSize

        public int getSize()
        Returns the number of transaction identifiers.
        Returns:
        Number of transaction identifiers.
      • getBranchQualifier

        public byte[] getBranchQualifier​(int index)
        Returns a branch qualifier.
        Parameters:
        index - index.
        Returns:
        the transaction branch qualifier.
      • getFormatId

        public int getFormatId​(int index)
        Returns a format identifier.
        Parameters:
        index - index.
        Returns:
        the transaction identifier format.
      • getGlobalTransactionId

        public byte[] getGlobalTransactionId​(int index)
        Returns a global transaction identifier.
        Parameters:
        index - index.
        Returns:
        the global transaction identifier.
      • readFrom

        public void readFrom​(InputStream is)
                      throws IOException
        The object implements the readFrom method to restore its contents from the input stream.
        Specified by:
        readFrom in interface Streamable
        Overrides:
        readFrom in class AbstractJmsReply
        Parameters:
        is - the stream to read data from in order to restore the object
        Throws:
        IOException - an error occurs during IO operation.