| Package | Description |
|---|---|
| com.ovea.system.pipe |
| Modifier and Type | Method and Description |
|---|---|
static Pipe |
Pipes.create(InputStream in,
OutputStream out) |
static Pipe |
Pipes.create(ReadableByteChannel in,
WritableByteChannel out) |
static Pipe |
Pipes.create(Reader in,
Writer out) |
static Pipe |
Pipes.create(String name,
InputStream in,
OutputStream out) |
static Pipe |
Pipes.create(String name,
InputStream in,
OutputStream out,
int bufferSize) |
static Pipe |
Pipes.create(String name,
ReadableByteChannel in,
WritableByteChannel out) |
static Pipe |
Pipes.create(String name,
ReadableByteChannel in,
WritableByteChannel out,
int bufferSize) |
static Pipe |
Pipes.create(String name,
Reader in,
Writer out) |
static Pipe |
Pipes.create(String name,
Reader in,
Writer out,
int bufferSize) |
Pipe |
Pipe.listenedBy(PipeListener listener)
Set a pipe listener to get events
|
Pipe |
PipeConnection.pipe()
The connected pipe
|
| Modifier and Type | Method and Description |
|---|---|
void |
PipeListeners.onBroken(Pipe pipe,
BrokenPipeException e) |
void |
PipeListenerAdapter.onBroken(Pipe pipe,
BrokenPipeException e) |
void |
PipeListener.onBroken(Pipe pipe,
BrokenPipeException e)
Called if a stream is broken
|
void |
PipeListeners.onClose(Pipe pipe) |
void |
PipeListenerAdapter.onClose(Pipe pipe) |
void |
PipeListener.onClose(Pipe pipe)
Called when a pipe is closed correctly after the stream ends
|
void |
PipeListeners.onConnect(Pipe pipe) |
void |
PipeListenerAdapter.onConnect(Pipe pipe) |
void |
PipeListener.onConnect(Pipe pipe)
Called when the pipe is connected
|
void |
PipeListeners.onInterrupt(Pipe pipe) |
void |
PipeListenerAdapter.onInterrupt(Pipe pipe) |
void |
PipeListener.onInterrupt(Pipe pipe)
Called if the pipe is interrupted either if the thread is interrupted or by a call to
PipeConnection.interrupt() |
Copyright © 2011 Ovea. All Rights Reserved.