1 8 9 package mx4j.tools.adaptor; 10 11 import java.io.IOException ; 12 import java.net.InetAddress ; 13 import java.net.ServerSocket ; 14 15 20 public class PlainAdaptorServerSocketFactory implements AdaptorServerSocketFactory 21 { 22 public ServerSocket createServerSocket(int port, int backlog, String host) throws IOException  23 { 24 return new ServerSocket (port, backlog, InetAddress.getByName(host)); 25 } 26 } 27 | Popular Tags |