An aggregation class of streams and receiver threads.
| Constructor and description |
|---|
Interactions
(java.io.OutputStream standardInput1, java.io.InputStream standardOutput, java.io.InputStream standardError, java.lang.String encoding1)Constructor. |
Interactions
(java.io.OutputStream standardInput1, java.io.InputStream standardOutput, java.lang.String encoding1)Constructor. |
| Type | Name and description |
|---|---|
void |
add(groovy.lang.Closure closure)Adds an interaction. |
void |
pipe(Stream stream, java.io.OutputStream outputStream)Pipes the stream into another stream. |
void |
start()Starts receiver threads. |
void |
waitForEndOfStream()Waits for all receiver threads. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor. All streams will be closed by the receiver thread.
Constructor. All streams will be closed by the receiver thread.
Adds an interaction.
closure - definition of interactionPipes the stream into another stream.
Starts receiver threads.
Waits for all receiver threads.