Class QBrowseReply

    • Field Detail

      • serialVersionUID

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

        private Vector messages
        The vector of messages carried by this reply.
    • Constructor Detail

      • QBrowseReply

        public QBrowseReply​(int correlationId,
                            Vector messages)
        Constructs a QBrowseReply.
        Parameters:
        correlationId - Correlation identifier.
        messages - The messages.
      • QBrowseReply

        public QBrowseReply()
        Public no-arg constructor needed by Externalizable.
    • Method Detail

      • getMessages

        public Vector getMessages()
        Returns the vector of messages carried by this reply.
        Returns:
        The messages.
      • addMessage

        public void addMessage​(Message msg)
      • 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.