public final class BlockingInvocation.Response extends Object implements Closeable
Modifier and Type | Method and Description |
---|---|
void |
close()
Close this response; closes the message stream (if any).
|
MessageInputStream |
getInputStream()
Get the message input stream.
|
int |
getParameter()
Get the passed-in parameter.
|
public MessageInputStream getInputStream() throws IOException
IOException
- if the channel was closed, or if another I/O error occurspublic int getParameter()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
- if closing the message stream failed for some reasonCopyright © 2017 JBoss by Red Hat. All rights reserved.