01: package examples;
02:
03: import java.io.*;
04: import vicazh.hyperpool.stream.*;
05:
06: public class ExampleSelector extends Selector implements
07: ExampleSelectorMBean {
08: public OutputStream get(OutputStream outputstream)
09: throws IOException {
10: Stream stream = (Stream) super.get(outputstream);
11: stream.connection.getClient().outputstream = get(
12: stream.connection.getServer(), getDef());
13: return stream;
14: }
15: }
|