01: package vicazh.hyperpool.stream.net.http.html;
02:
03: import java.io.*;
04: import vicazh.hyperpool.stream.net.http.*;
05:
06: class MessageSession extends Session {
07: MessageSession(Connection connection) {
08: super (connection);
09: }
10:
11: public void setClient(OutputStream outputstream) throws IOException {
12: setClient(new MessageStream(this ));
13: }
14:
15: public void setServer(OutputStream outputstream) {
16: setServer(new ServerStream(this, outputstream));
17: }
18: }
|