1 package org.jacorb.orb.factory; 2 3 22 23 import java.net.*; 24 import java.io.IOException ; 25 26 public class DefaultServerSocketFactory implements ServerSocketFactory 27 { 28 public DefaultServerSocketFactory () {} 29 30 public ServerSocket createServerSocket (int port) 31 throws IOException 32 { 33 return new ServerSocket (port); 34 } 35 36 public ServerSocket createServerSocket (int port, int backlog) 37 throws IOException 38 { 39 return new ServerSocket (port, backlog); 40 } 41 42 public ServerSocket createServerSocket 43 (int port, int backlog, InetAddress ifAddress) 44 throws IOException 45 { 46 return new ServerSocket (port, backlog, ifAddress); 47 } 48 } 49 | Popular Tags |