public class TimeoutServerSocket extends ServerSocket
| Constructor and Description |
|---|
TimeoutServerSocket(int port) |
TimeoutServerSocket(int port,
int backlog) |
TimeoutServerSocket(int port,
int backlog,
InetAddress bindAddr) |
| Modifier and Type | Method and Description |
|---|---|
Socket |
accept() |
bind, bind, close, getChannel, getInetAddress, getLocalPort, getLocalSocketAddress, getReceiveBufferSize, getReuseAddress, getSoTimeout, implAccept, isBound, isClosed, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSocketFactory, setSoTimeout, toStringpublic TimeoutServerSocket(int port)
throws IOException
IOExceptionpublic TimeoutServerSocket(int port,
int backlog)
throws IOException
IOExceptionpublic TimeoutServerSocket(int port,
int backlog,
InetAddress bindAddr)
throws IOException
IOExceptionpublic Socket accept() throws IOException
accept in class ServerSocketIOExceptionCopyright © 2015 JBoss by Red Hat. All rights reserved.