public class ServerSocket extends Object
| Constructor and Description |
|---|
ServerSocket(int var0) |
ServerSocket(int var0,
int var1) |
ServerSocket(int var0,
int var1,
InetAddress var2) |
| Modifier and Type | Method and Description |
|---|---|
Socket |
accept() |
void |
close() |
InetAddress |
getInetAddress() |
int |
getLocalPort() |
int |
getSoTimeout() |
protected void |
implAccept(Socket var0) |
static void |
setSocketFactory(SocketImplFactory var0) |
void |
setSoTimeout(int var0) |
String |
toString() |
public ServerSocket(int var0)
throws IOException
IOExceptionpublic ServerSocket(int var0,
int var1)
throws IOException
IOExceptionpublic ServerSocket(int var0,
int var1,
InetAddress var2)
throws IOException
IOExceptionpublic Socket accept() throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic InetAddress getInetAddress()
public int getLocalPort()
public int getSoTimeout()
throws IOException
IOExceptionprotected final void implAccept(Socket var0) throws IOException
IOExceptionpublic static void setSocketFactory(SocketImplFactory var0) throws IOException
IOExceptionpublic void setSoTimeout(int var0)
throws SocketException
SocketException