kiwi.io
Class StreamRelay
java.lang.Object
|
+--kiwi.io.StreamRelay
- public class StreamRelay
- extends Object
- implements Runnable
This class represents a stream relay; it reads data from one stream and
writes it to another, in a dedicated thread.
- Version:
- 1.0.1 (10/98)
- Author:
- Mark Lindner, PING Software Group
Method Summary |
void |
run()
Thread body. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
StreamRelay
public StreamRelay(DataInputStream source,
DataOutputStream sink)
- Construct a new
StreamRelay
.
- Parameters:
source
- The data source.sink
- The data sink.
run
public void run()
- Thread body. Activate via a call to superclass
start()
method.
- Specified by:
- run in interface Runnable