XNIO API 3.0.10.GA-redhat-1
-
public final class Pipe
extends java.lang.Object
An in-VM pipe between an input stream and an output stream, which does not suffer from the
bugs in PipedInputStream
.
- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors
Constructor and Description |
Pipe(int bufferSize)
Construct a new instance.
|
-
Method Summary
Methods
Modifier and Type |
Method and Description |
void |
await()
Wait for the read side to close.
|
java.io.InputStream |
getIn()
Get the input (read) side of the pipe.
|
java.io.OutputStream |
getOut()
Get the output (write) side of the pipe.
|
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
XNIO API 3.0.10.GA-redhat-1
Copyright © 2010 JBoss, a division of Red Hat, Inc.