01: package vicazh.hyperpool.stream.net;
02:
03: import java.io.*;
04: import java.net.*;
05: import vicazh.hyperpool.stream.*;
06:
07: class UDPInConnection extends Connection {
08: InetAddress address;
09:
10: int port;
11:
12: UDPInConnection(Element element, InetAddress address, int port) {
13: super (element);
14: this .address = address;
15: this .port = port;
16: }
17:
18: public void setServer(OutputStream outputstream) {
19: setServer(new UDPInStream(this, outputstream, address));
20: }
21: }
|