org.szegedi.nioserver
Class ServerSocketConfiguration
java.lang.Object
|
+--org.szegedi.nioserver.ServerSocketConfiguration
- public class ServerSocketConfiguration
- extends java.lang.Object
Specifies the characteristics of a server socket. A separate class is used
by the NioServer clients for setting these characteristics, as the creation
of the server socket object is hidden in the NioServer, and as such the
server socket is not accessible directly by the client.
- Version:
- $Id: ServerSocketConfiguration.java,v 1.2 2002/02/11 08:18:30 szegedia Exp $
- Author:
- Attila Szegedi, szegedia at freemail dot hu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerSocketConfiguration
public ServerSocketConfiguration()
setSocketAddress
public void setSocketAddress(java.net.SocketAddress socketAddress)
getSocketAddress
public java.net.SocketAddress getSocketAddress()
setBacklog
public void setBacklog(int backlog)
getBacklog
public int getBacklog()
setReceiveBufferSize
public void setReceiveBufferSize(int bufsize)
getReceiveBufferSize
public int getReceiveBufferSize()
setReuseAddress
public void setReuseAddress(boolean reuseAddress)
getReuseAddress
public boolean getReuseAddress()