Package com.db4o.cs.foundation
Class ServerSocket4Decorator
- java.lang.Object
-
- com.db4o.cs.foundation.ServerSocket4Decorator
-
- All Implemented Interfaces:
ServerSocket4
public class ServerSocket4Decorator extends java.lang.Object implements ServerSocket4
- Since:
- 7.12
-
-
Field Summary
Fields Modifier and Type Field Description protected ServerSocket4
_serverSocket
-
Constructor Summary
Constructors Constructor Description ServerSocket4Decorator(ServerSocket4 serverSocket)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Socket4
accept()
void
close()
int
getLocalPort()
void
setSoTimeout(int timeout)
-
-
-
Field Detail
-
_serverSocket
protected ServerSocket4 _serverSocket
-
-
Constructor Detail
-
ServerSocket4Decorator
public ServerSocket4Decorator(ServerSocket4 serverSocket)
-
-
Method Detail
-
accept
public Socket4 accept() throws java.io.IOException
- Specified by:
accept
in interfaceServerSocket4
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfaceServerSocket4
- Throws:
java.io.IOException
-
getLocalPort
public int getLocalPort()
- Specified by:
getLocalPort
in interfaceServerSocket4
-
setSoTimeout
public void setSoTimeout(int timeout)
- Specified by:
setSoTimeout
in interfaceServerSocket4
-
-