|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerSocketFactory
The interface used to create server sockets.
Method Summary | |
---|---|
ServerSocket |
createServerSocket(int port)
Creates a socket on specified port. |
ServerSocket |
createServerSocket(int port,
int backLog)
Creates a socket on specified port with a specified backLog. |
ServerSocket |
createServerSocket(int port,
int backLog,
InetAddress bindAddress)
Creates a socket on a particular network interface on specified port with a specified backLog. |
Method Detail |
---|
ServerSocket createServerSocket(int port) throws IOException
port
- the port
IOException
- if an error occursServerSocket createServerSocket(int port, int backLog) throws IOException
port
- the portbackLog
- the backLog
IOException
- if an error occursServerSocket createServerSocket(int port, int backLog, InetAddress bindAddress) throws IOException
port
- the portbackLog
- the backLogbindAddress
- the network interface to bind to.
IOException
- if an error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |