de.tu_darmstadt.sp
Class ServerSocketFactoryImpl
java.lang.Object
|
+--javax.net.ServerSocketFactory
|
+--de.tu_darmstadt.sp.ServerSocketFactoryImpl
- public class ServerSocketFactoryImpl
- extends ServerSocketFactory
Class ServerSocketFactory implements SUN's interface specification
and creates normal standard sever sockets, using the ServerSocket
constructor.
- Version:
- $Revision: 1.2 $
- Author:
- Andrei Popovici
Method Summary |
java.net.ServerSocket |
createServerSocket(int port)
Returns a server socket which uses all network interfaces on the
host, and is bound to the specified port. |
java.net.ServerSocket |
createServerSocket(int port,
int backlog)
Returns a server socket which uses all network interfaces on the
host, is bound to a the specified port, and uses the specified
connection backlog. |
java.net.ServerSocket |
createServerSocket(int port,
int backlog,
java.net.InetAddress ifAddress)
Returns a server socket which uses only the specified network
interface on the local host, is bound to a the specified port, and
uses the specified connection backlog. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
defaultInstance
protected static ServerSocketFactory defaultInstance
ServerSocketFactoryImpl
public ServerSocketFactoryImpl()
createServerSocket
public java.net.ServerSocket createServerSocket(int port)
throws java.io.IOException
- Returns a server socket which uses all network interfaces on the
host, and is bound to the specified port.
- Overrides:
- createServerSocket in class ServerSocketFactory
createServerSocket
public java.net.ServerSocket createServerSocket(int port,
int backlog)
throws java.io.IOException
- Returns a server socket which uses all network interfaces on the
host, is bound to a the specified port, and uses the specified
connection backlog.
- Overrides:
- createServerSocket in class ServerSocketFactory
createServerSocket
public java.net.ServerSocket createServerSocket(int port,
int backlog,
java.net.InetAddress ifAddress)
throws java.io.IOException
- Returns a server socket which uses only the specified network
interface on the local host, is bound to a the specified port, and
uses the specified connection backlog.
- Overrides:
- createServerSocket in class ServerSocketFactory