1 17 18 package org.apache.avalon.cornerstone.services.sockets; 19 20 import java.io.IOException ; 21 import java.net.InetAddress ; 22 import java.net.ServerSocket ; 23 24 29 public interface ServerSocketFactory 30 { 31 38 ServerSocket createServerSocket( int port ) 39 throws IOException ; 40 41 49 ServerSocket createServerSocket( int port, int backLog ) 50 throws IOException ; 51 52 62 ServerSocket createServerSocket( int port, int backLog, InetAddress bindAddress ) 63 throws IOException ; 64 } 65 66 | Popular Tags |