Package com.db4o.cs.foundation
Class NetworkServerSocketBase
- java.lang.Object
-
- com.db4o.cs.foundation.NetworkServerSocketBase
-
- All Implemented Interfaces:
ServerSocket4
- Direct Known Subclasses:
NetworkServerSocket
public abstract class NetworkServerSocketBase extends java.lang.Object implements ServerSocket4
-
-
Constructor Summary
Constructors Constructor Description NetworkServerSocketBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Socket4
accept()
void
close()
int
getLocalPort()
void
setSoTimeout(int timeout)
protected abstract java.net.ServerSocket
socket()
-
-
-
Method Detail
-
socket
protected abstract java.net.ServerSocket socket()
-
setSoTimeout
public void setSoTimeout(int timeout)
- Specified by:
setSoTimeout
in interfaceServerSocket4
-
getLocalPort
public int getLocalPort()
- Specified by:
getLocalPort
in interfaceServerSocket4
-
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
-
-