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, toString
public TimeoutServerSocket(int port) throws IOException
IOException
public TimeoutServerSocket(int port, int backlog) throws IOException
IOException
public TimeoutServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException
IOException
public Socket accept() throws IOException
accept
in class ServerSocket
IOException
Copyright © 2018 JBoss by Red Hat. All rights reserved.