mirror of https://github.com/FOME-Tech/fome-fw.git
proxy progress
This commit is contained in:
parent
99acf6b443
commit
5565d56c65
|
@ -35,18 +35,6 @@ public class TcpIoStream implements IoStream {
|
||||||
this.input = input;
|
this.input = input;
|
||||||
}
|
}
|
||||||
|
|
||||||
private TcpIoStream(Logger logger, InputStream input, OutputStream output) {
|
|
||||||
this.logger = logger;
|
|
||||||
if (input == null)
|
|
||||||
throw new NullPointerException("input");
|
|
||||||
if (output == null)
|
|
||||||
throw new NullPointerException("output");
|
|
||||||
this.output = output;
|
|
||||||
this.input = input;
|
|
||||||
IncomingDataBuffer dataBuffer = IncomingDataBuffer.createDataBuffer(this, logger);
|
|
||||||
setDataBuffer(dataBuffer);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setDataBuffer(IncomingDataBuffer dataBuffer) {
|
public void setDataBuffer(IncomingDataBuffer dataBuffer) {
|
||||||
this.dataBuffer = dataBuffer;
|
this.dataBuffer = dataBuffer;
|
||||||
|
|
Loading…
Reference in New Issue