01: package vicazh.hyperpool.stream.net.http;
02:
03: import java.io.*;
04:
05: public class ExplorerSession extends Session {
06: public ExplorerSession() {
07: }
08:
09: ExplorerSession(Connection connection) {
10: super (connection);
11: }
12:
13: public void setServer(OutputStream outputstream) {
14: setServer(new ExplorerStream(this , outputstream));
15: }
16:
17: public void setClient(OutputStream outputstream) {
18: setClient(new FileStream(this , outputstream, new File(
19: ((FileService) connection.element).dir2path())));
20: }
21: }
|