PipedInputStream that will not die
when the writing Thread is no longer alive.
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private ProjectComponent |
| Access | Constructor and Description |
|---|---|
| public | |
| public | LeadPipeInputStream(int
the size of the circular buffer. size)Construct a new |
| public | LeadPipeInputStream(PipedOutputStream
the src)PipedOutputStream source.Construct a new |
| public | LeadPipeInputStream(PipedOutputStream
the src, int PipedOutputStream source.the size of the circular buffer. size)Construct a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public synchronized int | Returns: the byte (0 to 255) or -1 if there are no more.Overrides java. |
| public synchronized void | |
| public void | setManagingComponent(ProjectComponent
the managing pc)ProjectComponent.Set a managing |
| public void |
| BYTE_MASK | back to summary |
|---|---|
| private static final int BYTE_MASK | |
| managingPc | back to summary |
|---|---|
| private ProjectComponent managingPc | |
| LeadPipeInputStream | back to summary |
|---|---|
| public LeadPipeInputStream() Construct a new | |
| LeadPipeInputStream | back to summary |
|---|---|
| public LeadPipeInputStream(int size) Construct a new
| |
| LeadPipeInputStream | back to summary |
|---|---|
| public LeadPipeInputStream(PipedOutputStream src) throws IOException Construct a new
| |
| LeadPipeInputStream | back to summary |
|---|---|
| public LeadPipeInputStream(PipedOutputStream src, int size) throws IOException Construct a new
| |
| log | back to summary |
|---|---|
| public void log(String message, int loglevel) Log a message with the specified logging level.
| |
| read | back to summary |
|---|---|
| public synchronized int read() throws IOException Overrides java. Read a byte from the stream.
| |
| setBufferSize | back to summary |
|---|---|
| public synchronized void setBufferSize(int size) Set the size of the buffer.
| |
| setManagingComponent | back to summary |
|---|---|
| public void setManagingComponent(ProjectComponent pc) Set a managing
| |
| setManagingTask | back to summary |
|---|---|
| public void setManagingTask(Task task) Set a managing
| |