DatagramSocketAdaptor.java revision 4216
1173N/Apublic class DatagramSocketAdaptor
1173N/A extends DatagramSocket
1173N/A super(dummyDatagramSocket);
1173N/A } catch (IOException x) {
1173N/A throws SocketException
1173N/A } catch (SocketException x) {
1173N/A public void disconnect() {
1173N/A } catch (IOException x) {
1173N/A public boolean isConnected() {
1173N/A return (isConnected()
1173N/A return (isConnected()
1173N/A throw new IllegalBlockingModeException();
1173N/A } catch (IOException x) {
1173N/A throw new ClosedChannelException();
1173N/A throw new SocketTimeoutException();
1173N/A throw new IllegalBlockingModeException();
} catch (IOException x) {
if (isClosed())
return null;
} catch (SecurityException x) {
return result;
public int getLocalPort() {
if (isClosed())
} catch (Exception x) {
return timeout;
throws SocketException
} catch (IOException x) {
throws SocketException
} catch (IOException x) {
} catch (IOException x) {
} catch (IOException x) {
public void close() {
} catch (IOException x) {
throw new Error(x);
public boolean isClosed() {
return dc;
= new DatagramSocketImpl()
protected void close() {}