1 8 package org.codehaus.spice.netserve.sockets; 9 10 import java.io.IOException ; 11 import java.net.InetAddress ; 12 import java.net.ServerSocket ; 13 14 23 public interface ServerSocketFactory 24 { 25 32 ServerSocket createServerSocket( int port ) 33 throws IOException ; 34 35 43 ServerSocket createServerSocket( int port, int backlog ) 44 throws IOException ; 45 46 56 ServerSocket createServerSocket( int port, int backlog, InetAddress address ) 57 throws IOException ; 58 } 59 60 | Popular Tags |