01: package vicazh.hyperpool.stream;
02:
03: import java.io.*;
04:
05: class SpeedConnection extends Connection {
06: SpeedConnection(Element element) {
07: super (element);
08: }
09:
10: public void setClient(OutputStream outputstream) {
11: setClient(new SpeedClientStream(this , outputstream));
12: }
13:
14: boolean isReverse;
15:
16: public void setServer(OutputStream outputstream) {
17: setServer(new SpeedServerStream(this, outputstream));
18: isReverse = getServer().isReverse();
19: }
20: }
|