package vicazh.hyperpool.stream;
import java.io.*;
class DialConnection extends Connection {
ByteArrayOutputStream astream;
DialConnection(DialService service) {
super(service);
astream = new ByteArrayOutputStream();
}
public void setClient(OutputStream outputstream) {
setClient(new DialClientStream(this, outputstream));
}
public void setServer(OutputStream outputstream) {
setServer(new DialServerStream(this, outputstream));
}
boolean b;
void dial() throws IOException {
((DialService) element).dial(this);
}
}
|