public class PipeListenerAdapter extends Object implements PipeListener
| Constructor and Description |
|---|
PipeListenerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onBroken(Pipe pipe,
BrokenPipeException e)
Called if a stream is broken
|
void |
onClose(Pipe pipe)
Called when a pipe is closed correctly after the stream ends
|
void |
onConnect(Pipe pipe)
Called when the pipe is connected
|
void |
onInterrupt(Pipe pipe)
Called if the pipe is interrupted either if the thread is interrupted or by a call to
PipeConnection.interrupt() |
public void onConnect(Pipe pipe)
PipeListeneronConnect in interface PipeListenerpublic void onClose(Pipe pipe)
PipeListeneronClose in interface PipeListenerpublic void onBroken(Pipe pipe, BrokenPipeException e)
PipeListeneronBroken in interface PipeListenerpublic void onInterrupt(Pipe pipe)
PipeListenerPipeConnection.interrupt()onInterrupt in interface PipeListenerCopyright © 2011 Ovea. All Rights Reserved.