edu.cmu.emulator.io
Class StreamRelay
java.lang.Object
edu.cmu.emulator.io.StreamRelay
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- OutStreamLogger
public class StreamRelay
- extends Object
- implements Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
running
protected boolean running
in
protected InputStream in
out
protected OutputStream out
buf
protected byte[] buf
BUF_SIZE
protected static final int BUF_SIZE
- See Also:
- Constant Field Values
StreamRelay
public StreamRelay(InputStream in,
OutputStream out)
start
public void start()
stop
public void stop()
run
public void run()
- Specified by:
run
in interface Runnable
Copyright © 2013. All Rights Reserved.