javax.net
Class ServerSocketFactory
java.lang.Object
|
+--javax.net.ServerSocketFactory
- Direct Known Subclasses:
- ServerSocketFactoryImpl, SSLServerSocketFactory
- public abstract class ServerSocketFactory
- extends java.lang.Object
Class ServerSocketFactory provides SUN's interface specification but adds
no functionality. The only implemented methods are getDefault
and setDefault
. The setDefault
should be used by
the runtime environment to set the default instance of the server factory.
- Version:
- $Revision: 1.2 $
- Author:
- Andrei Popovici
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
defaultInstance
protected static ServerSocketFactory defaultInstance
ServerSocketFactory
public ServerSocketFactory()
createServerSocket
public abstract java.net.ServerSocket createServerSocket(int port)
throws java.io.IOException
createServerSocket
public abstract java.net.ServerSocket createServerSocket(int port,
int backlog)
throws java.io.IOException
createServerSocket
public abstract java.net.ServerSocket createServerSocket(int port,
int backlog,
java.net.InetAddress ifAddress)
throws java.io.IOException
getDefault
public static ServerSocketFactory getDefault()
setDefault
public static void setDefault(ServerSocketFactory factory)