public class ServerSocketConnection extends java.lang.Object implements ServerConnection
Constructor and Description |
---|
ServerSocketConnection(java.net.ServerSocket serverSocket) |
Modifier and Type | Method and Description |
---|---|
Connection |
accept() |
void |
close() |
int |
getSoTimeout() |
void |
setSoTimeout(int timeout) |
public ServerSocketConnection(java.net.ServerSocket serverSocket)
public void setSoTimeout(int timeout) throws java.io.IOException
setSoTimeout
in interface ServerConnection
java.io.IOException
public int getSoTimeout() throws java.io.IOException
getSoTimeout
in interface ServerConnection
java.io.IOException
public Connection accept() throws java.io.IOException
accept
in interface ServerConnection
java.io.IOException
public void close() throws java.io.IOException
close
in interface ServerConnection
java.io.IOException