public class StreamRelay extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
private byte[] |
buf |
private DataInputStream |
din |
private DataOutputStream |
dout |
Constructor and Description |
---|
StreamRelay(DataInputStream source,
DataOutputStream sink)
Construct a new
StreamRelay . |
private DataInputStream din
private DataOutputStream dout
private byte[] buf
public StreamRelay(DataInputStream source, DataOutputStream sink)
StreamRelay
.source
- The data source.sink
- The data sink.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses