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