public class ServerSocket4Decorator extends java.lang.Object implements ServerSocket4
| Modifier and Type | Field and Description |
|---|---|
protected ServerSocket4 |
_serverSocket |
| Constructor and Description |
|---|
ServerSocket4Decorator(ServerSocket4 serverSocket) |
| Modifier and Type | Method and Description |
|---|---|
Socket4 |
accept() |
void |
close() |
int |
getLocalPort() |
void |
setSoTimeout(int timeout) |
protected ServerSocket4 _serverSocket
public ServerSocket4Decorator(ServerSocket4 serverSocket)
public Socket4 accept() throws java.io.IOException
accept in interface ServerSocket4java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface ServerSocket4java.io.IOExceptionpublic int getLocalPort()
getLocalPort in interface ServerSocket4public void setSoTimeout(int timeout)
setSoTimeout in interface ServerSocket4