|
XNIO API 3.0.7.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xnio.streams.Pipe
public final class Pipe
An in-VM pipe between an input stream and an output stream, which does not suffer from the
bugs in PipedInputStream.
| Constructor Summary | |
|---|---|
Pipe(int bufferSize)
Construct a new instance. |
|
| Method Summary | |
|---|---|
void |
await()
Wait for the read side to close. |
InputStream |
getIn()
Get the input (read) side of the pipe. |
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 |
| Constructor Detail |
|---|
public Pipe(int bufferSize)
bufferSize - the buffer size to use| Method Detail |
|---|
public void await()
public InputStream getIn()
public OutputStream getOut()
|
XNIO API 3.0.7.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||