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

Field Summary
protected static ServerSocketFactory defaultInstance
           
 
Constructor Summary
ServerSocketFactory()
           
 
Method Summary
abstract  java.net.ServerSocket createServerSocket(int port)
           
abstract  java.net.ServerSocket createServerSocket(int port, int backlog)
           
abstract  java.net.ServerSocket createServerSocket(int port, int backlog, java.net.InetAddress ifAddress)
           
static ServerSocketFactory getDefault()
           
static void setDefault(ServerSocketFactory factory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultInstance

protected static ServerSocketFactory defaultInstance
Constructor Detail

ServerSocketFactory

public ServerSocketFactory()
Method Detail

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)