public SocketInterface newSocket() throws IOException { if (host != null) return host.newSocket(); else return new RealSocket(); }
public SocketInterface newSocket() throws IOException { if (host != null) return host.newSocket(); else return new RealSocket(); }