DatagramSocketAdaptor.java revision 2494
342N/Apublic class DatagramSocketAdaptor
342N/A extends DatagramSocket
342N/A super(dummyDatagramSocket);
342N/A } catch (IOException x) {
342N/A throws SocketException
616N/A } catch (SocketException x) {
342N/A public void disconnect() {
342N/A } catch (IOException x) {
1111N/A public boolean isConnected() {
342N/A return (isConnected()
342N/A return (isConnected()
1111N/A throw new IllegalBlockingModeException();
1111N/A } catch (IOException x) {
342N/A throw new ClosedChannelException();
342N/A throw new SocketTimeoutException();
342N/A throw new IllegalBlockingModeException();
616N/A } catch (IOException x) {
616N/A } catch (SecurityException x) {
1111N/A public int getLocalPort() {
} 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() {}