Class BlockingInvocation.Response

    • Method Detail

      • getInputStream

        public MessageInputStream getInputStream()
                                          throws IOException
        Get the message input stream.
        Returns:
        the queued input stream
        Throws:
        IOException - if the channel was closed, or if another I/O error occurs
      • getParameter

        public int getParameter()
        Get the passed-in parameter.
        Returns:
        the parameter (or 0 if the channel was closed)
      • close

        public void close()
                   throws IOException
        Close this response; closes the message stream (if any).
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface Closeable
        Throws:
        IOException - if closing the message stream failed for some reason